# PdfCellPadding

Describes optional per-side padding overrides for one table cell.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfCellPadding.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellPadding.cs#L49)

**Modifiers**

sealed

Describes optional per-side padding overrides for one table cell.

## Inheritance

- object
- PdfCellPadding

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Method [PdfCellPadding.Clone](/api/pdf/officeimo-pdf-pdfcellpadding/#method-clone)
- Property [PdfTableStyle.CellPaddings](/api/pdf/officeimo-pdf-pdftablestyle/#property-cellpaddings)

Filter members 

Show inherited

## Constructors

`public PdfCellPadding()` [#](#constructor-ctor)

## Methods

`public PdfCellPadding Clone()` [#](#method-clone)

[PdfCellPadding.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellPadding.cs#L49)

Creates a copy of this table cell padding override.

Returns

`PdfCellPadding`

## 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?`

## Properties

`public OfficeLength? Left { get; set; }` [#](#property-left)

[PdfCellPadding.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellPadding.cs#L14)

Optional left padding as a physical length. When null the table style value is used.

`public OfficeLength? Right { get; set; }` [#](#property-right)

[PdfCellPadding.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellPadding.cs#L23)

Optional right padding as a physical length. When null the table style value is used.

`public OfficeLength? Top { get; set; }` [#](#property-top)

[PdfCellPadding.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellPadding.cs#L32)

Optional top padding as a physical length. When null the table style value is used.

`public OfficeLength? Bottom { get; set; }` [#](#property-bottom)

[PdfCellPadding.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellPadding.cs#L41)

Optional bottom padding as a physical length. When null the table style value is used.

<!-- PowerForge markdown artifact sha256:75EF15607C2D991F6991F26C46D4B0DA366F3B9A35FBB733A3D4727075B0ACD0 -->
