# PdfCellIcon

Describes a small vector icon drawn inside a table cell before the cell text.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfCellIcon.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellIcon.cs#L8)

**Modifiers**

sealed

Describes a small vector icon drawn inside a table cell before the cell text.

## Inheritance

- object
- PdfCellIcon

## 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 [PdfCellIcon.Clone](/api/pdf/officeimo-pdf-pdfcellicon/#method-clone)
- Property [PdfTableStyle.CellIcons](/api/pdf/officeimo-pdf-pdftablestyle/#property-cellicons)

Filter members 

Show inherited

## Constructors

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

[PdfCellIcon.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellIcon.cs#L8)

## Methods

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

[PdfCellIcon.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellIcon.cs#L69)

Creates a copy of this table cell icon.

Returns

`PdfCellIcon`

## 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 OfficeAlignment? HorizontalAlignment { get; set; }` [#](#property-horizontalalignment)

[PdfCellIcon.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellIcon.cs#L15)

Optional icon alignment independent of cell text. Null uses the cell's alignment.

`public PdfCellIconKind Kind { get; set; }` [#](#property-kind)

[PdfCellIcon.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellIcon.cs#L25)

Icon shape to draw.

`public OfficeColor Color { get; set; }` [#](#property-color)

[PdfCellIcon.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellIcon.cs#L36)

Icon fill color.

`public OfficeLength Size { get; set; }` [#](#property-size)

[PdfCellIcon.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellIcon.cs#L40)

Icon size as a physical length.

`public OfficeLength OffsetX { get; set; }` [#](#property-offsetx)

[PdfCellIcon.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellIcon.cs#L52)

Additional horizontal icon offset as a physical length after table-cell alignment is applied.

`public OfficeLength OffsetY { get; set; }` [#](#property-offsety)

[PdfCellIcon.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCellIcon.cs#L61)

Additional vertical icon offset as a physical length after table-cell alignment is applied.

<!-- PowerForge markdown artifact sha256:3EEBD2AADC6CF194FDF53224F2673A2DD1D6223CDD5836EF53D372490F9F62D3 -->
