PdfTableCell.Image Property

PDF File Writer

PdfTableCellImage Property

Gets Image if Type is Image.

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public PdfImage Image { get; }

Property Value

Type: PdfImage
Remarks

If ImageWidth and ImageHeight were not set by the user, the image width will be set to ClientWidth and the height will be calculated to preserve image's aspect ratio.

If ImageWidth was not set by the user and ImageHeight was set by the user. ImageWidth will be calculated to preserve image's aspect ratio.

If ImageWidth was set by the user and ImageHeight was not set by the user, ImageHeight will be calculated to preserve image's aspect ratio.

If both ImageWidth and ImageHeight were set by the user, the aspect ratio of the image will be ignored.

If ImageWidth is wider than Client width, both ImageWidth and ImageHeight will be adjusted to fit the available width.

ImageWidth and ImageHeight will be reset to zero after each row drawing.

See Also