# PdfCellPaddingFluent

The fluent methods of PdfCellPadding, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Modifiers**

static

The fluent methods of [PdfCellPadding](/api/pdf/officeimo-pdf-pdfcellpadding/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- PdfCellPaddingFluent

Filter members 

Show inherited

## Methods

`public static PdfCellPadding Bottom(PdfCellPadding pdfCellPadding, OfficeLength? value)` [#](#method-bottom-officeimo-pdf-pdfcellpadding-nullable-officeimo-officelength)

Sets [PdfCellPadding.Bottom](/api/pdf/officeimo-pdf-pdfcellpadding/): Optional bottom padding as a physical length. When null the table style value is used.

Parameters

**pdfCellPadding OfficeIMO.Pdf.PdfCellPadding required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PdfCellPadding` The same instance.

Examples

```csharp
// C# initializer or property                                   // C# fluent
new global::OfficeIMO.Pdf.PdfCellPadding { Bottom = value };    pdfCellPadding.Bottom(value);
```

`public static PdfCellPadding Left(PdfCellPadding pdfCellPadding, OfficeLength? value)` [#](#method-left-officeimo-pdf-pdfcellpadding-nullable-officeimo-officelength)

Sets [PdfCellPadding.Left](/api/pdf/officeimo-pdf-pdfcellpadding/): Optional left padding as a physical length. When null the table style value is used.

Parameters

**pdfCellPadding OfficeIMO.Pdf.PdfCellPadding required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PdfCellPadding` The same instance.

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Pdf.PdfCellPadding { Left = value };    pdfCellPadding.Left(value);
```

`public static PdfCellPadding Right(PdfCellPadding pdfCellPadding, OfficeLength? value)` [#](#method-right-officeimo-pdf-pdfcellpadding-nullable-officeimo-officelength)

Sets [PdfCellPadding.Right](/api/pdf/officeimo-pdf-pdfcellpadding/): Optional right padding as a physical length. When null the table style value is used.

Parameters

**pdfCellPadding OfficeIMO.Pdf.PdfCellPadding required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PdfCellPadding` The same instance.

Examples

```csharp
// C# initializer or property                                  // C# fluent
new global::OfficeIMO.Pdf.PdfCellPadding { Right = value };    pdfCellPadding.Right(value);
```

`public static PdfCellPadding Top(PdfCellPadding pdfCellPadding, OfficeLength? value)` [#](#method-top-officeimo-pdf-pdfcellpadding-nullable-officeimo-officelength)

Sets [PdfCellPadding.Top](/api/pdf/officeimo-pdf-pdfcellpadding/): Optional top padding as a physical length. When null the table style value is used.

Parameters

**pdfCellPadding OfficeIMO.Pdf.PdfCellPadding required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PdfCellPadding` The same instance.

Examples

```csharp
// C# initializer or property                                // C# fluent
new global::OfficeIMO.Pdf.PdfCellPadding { Top = value };    pdfCellPadding.Top(value);
```

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:DD3E64E44BD4C107EDC0831D8113FDAE283C8214A381DC1F3BD3EF576943F427 -->
