# PdfCellIconFluent

The fluent methods of PdfCellIcon, 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 [PdfCellIcon](/api/pdf/officeimo-pdf-pdfcellicon/), 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
- PdfCellIconFluent

Filter members 

Show inherited

## Methods

`public static PdfCellIcon Color(PdfCellIcon pdfCellIcon, OfficeColor value)` [#](#method-color-officeimo-pdf-pdfcellicon-officeimo-officecolor)

Sets [PdfCellIcon.Color](/api/pdf/officeimo-pdf-pdfcellicon/): Icon fill color.

Parameters

**pdfCellIcon OfficeIMO.Pdf.PdfCellIcon required**

The instance.

**value OfficeIMO.OfficeColor required**

The value.

Returns

`PdfCellIcon` The same instance.

Examples

```csharp
// C# initializer or property                               // C# fluent
new global::OfficeIMO.Pdf.PdfCellIcon { Color = value };    pdfCellIcon.Color(value);
```

`public static PdfCellIcon HorizontalAlignment(PdfCellIcon pdfCellIcon, OfficeAlignment? value)` [#](#method-horizontalalignment-officeimo-pdf-pdfcellicon-nullable-officeimo-officealignment)

Sets [PdfCellIcon.HorizontalAlignment](/api/pdf/officeimo-pdf-pdfcellicon/): Optional icon alignment independent of cell text. Null uses the cell's alignment.

Parameters

**pdfCellIcon OfficeIMO.Pdf.PdfCellIcon required**

The instance.

**value OfficeIMO.OfficeAlignment? required**

The value.

Returns

`PdfCellIcon` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfCellIcon { HorizontalAlignment = value };    pdfCellIcon.HorizontalAlignment(value);
```

`public static PdfCellIcon Kind(PdfCellIcon pdfCellIcon, PdfCellIconKind value)` [#](#method-kind-officeimo-pdf-pdfcellicon-officeimo-pdf-pdfcelliconkind)

Sets [PdfCellIcon.Kind](/api/pdf/officeimo-pdf-pdfcellicon/): Icon shape to draw.

Parameters

**pdfCellIcon OfficeIMO.Pdf.PdfCellIcon required**

The instance.

**value OfficeIMO.Pdf.PdfCellIconKind required**

The value.

Returns

`PdfCellIcon` The same instance.

Examples

```csharp
// C# initializer or property                              // C# fluent
new global::OfficeIMO.Pdf.PdfCellIcon { Kind = value };    pdfCellIcon.Kind(value);
```

`public static PdfCellIcon OffsetX(PdfCellIcon pdfCellIcon, OfficeLength value)` [#](#method-offsetx-officeimo-pdf-pdfcellicon-officeimo-officelength)

Sets [PdfCellIcon.OffsetX](/api/pdf/officeimo-pdf-pdfcellicon/): Additional horizontal icon offset as a physical length after table-cell alignment is applied.

Parameters

**pdfCellIcon OfficeIMO.Pdf.PdfCellIcon required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfCellIcon` The same instance.

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Pdf.PdfCellIcon { OffsetX = value };    pdfCellIcon.OffsetX(value);
```

`public static PdfCellIcon OffsetY(PdfCellIcon pdfCellIcon, OfficeLength value)` [#](#method-offsety-officeimo-pdf-pdfcellicon-officeimo-officelength)

Sets [PdfCellIcon.OffsetY](/api/pdf/officeimo-pdf-pdfcellicon/): Additional vertical icon offset as a physical length after table-cell alignment is applied.

Parameters

**pdfCellIcon OfficeIMO.Pdf.PdfCellIcon required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfCellIcon` The same instance.

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Pdf.PdfCellIcon { OffsetY = value };    pdfCellIcon.OffsetY(value);
```

`public static PdfCellIcon Size(PdfCellIcon pdfCellIcon, OfficeLength value)` [#](#method-size-officeimo-pdf-pdfcellicon-officeimo-officelength)

Sets [PdfCellIcon.Size](/api/pdf/officeimo-pdf-pdfcellicon/): Icon size as a physical length.

Parameters

**pdfCellIcon OfficeIMO.Pdf.PdfCellIcon required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfCellIcon` The same instance.

Examples

```csharp
// C# initializer or property                              // C# fluent
new global::OfficeIMO.Pdf.PdfCellIcon { Size = value };    pdfCellIcon.Size(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:7EE02FCEA9AF9744B525E1307EC30E67B6B847BF3B821810289621E7FA792F06 -->
