# PdfTableCellImage

Represents an image rendered inside a table cell.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Modifiers**

sealed

Represents an image rendered inside a table cell.

## Inheritance

- object
- PdfTableCellImage

## Usage

Explore 3 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 1

- Property [PdfTableCell.Images](/api/pdf/officeimo-pdf-pdftablecell/#property-images)

### Accepted by parameters 2

- Constructor [PdfTableCell.PdfTableCell](/api/pdf/officeimo-pdf-pdftablecell/#constructor-ctor-string-int32-string-string-int32-collections-generic-ienumerable-officeimo-pdf-pdftablecellcheckbox-collections-generic-ienumerable-officeimo-pdf-pdftablecellformfield-collections-generic-ienumerable-officeimo-pdf-pdftablecellimage-string-string) parameter `images`
- Method [PdfTableCell.WithImages](/api/pdf/officeimo-pdf-pdftablecell/#method-withimages-collections-generic-ienumerable-officeimo-pdf-pdftextrun-collections-generic-ienumerable-officeimo-pdf-pdftablecellimage-int32-string-string-int32-collections-generic-ienumerable-officeimo-pdf-pdftablecellcheckbox-collections-generic-ienumerable-officeimo-pdf-pdftablecellformfield-string) parameter `images`

Filter members 

Show inherited

## Constructors

`public PdfTableCellImage(byte[] data, OfficeLength width, OfficeLength height, PdfImageStyle? style = null, string? linkUri = null, string? linkContents = null)` [#](#constructor-ctor-byte-officeimo-officelength-officeimo-officelength-officeimo-pdf-pdfimagestyle-string-string)

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

Creates a table-cell image from raster bytes supported by OfficeIMO.Drawing.

Parameters

**data byte[] required**

**width OfficeIMO.OfficeLength required**

**height OfficeIMO.OfficeLength required**

**style OfficeIMO.Pdf.PdfImageStyle? = null optional**

**linkUri string? = null optional**

**linkContents string? = null optional**

## 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 byte[] Data { get; }` [#](#property-data)

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

Image bytes.

`public OfficeLength Width { get; }` [#](#property-width)

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

Target image width in PDF points.

`public OfficeLength Height { get; }` [#](#property-height)

[PdfTableCellImage.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableCellImage.cs#L55)

Target image height in PDF points.

`public OfficeImageInfo Info { get; }` [#](#property-info)

[PdfTableCellImage.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableCellImage.cs#L58)

Detected source image metadata.

`public PdfImageStyle? Style { get; }` [#](#property-style)

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

Optional image style. When omitted, the table cell alignment is used.

`public string? LinkUri { get; }` [#](#property-linkuri)

[PdfTableCellImage.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableCellImage.cs#L64)

Optional absolute URI or catalog-base-relative URI linked from the image rectangle.

`public string? LinkContents { get; }` [#](#property-linkcontents)

[PdfTableCellImage.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTableCellImage.cs#L67)

Optional PDF annotation contents metadata for the image link.

<!-- PowerForge markdown artifact sha256:87628FAE7766A9A079928C03B75D1679A7EBF117B3A37E6F0E831BD2BA12E29D -->
