static public method ImageExtensions.AddImageToCell

Brief

Adds an image in bytes with specified width and height in pixels and scaling mode to the table cell and returns the TableCellBuilder.

Declaration
C#
Gehtsoft.PDFFlow.Builder.TableCellBuilder  AddImageToCell (this Gehtsoft.PDFFlow.Builder.TableCellBuilder cell, System.Byte[] content, System.Single width, System.Single height, Gehtsoft.PDFFlow.Models.Enumerations.ScalingMode scaling = None)

Parameters
cell

This TableCellBuilder.

content

The image content in bytes.

width

The image width in pixels.

height

The image height in pixels.

scaling

The image scaling mode.

Declared in ImageExtensions

back