static public method ImageExtensions.AddInlineImageToParagraph

Brief

Adds an inline image in bytes with specified size in pixels and scaling mode to the paragraph, adds a tabulation symbol, if necessary, and returns the ParagraphBuilder.

Declaration
C#
Gehtsoft.PDFFlow.Builder.ParagraphBuilder  AddInlineImageToParagraph (this Gehtsoft.PDFFlow.Builder.ParagraphBuilder paragraph, System.Byte[] content, Gehtsoft.PDFFlow.Models.Shared.XSize size, Gehtsoft.PDFFlow.Models.Enumerations.ScalingMode scale = None, bool addTabulationSymbol = False)

Parameters
paragraph

This ParagraphBuilder.

content

The image content in bytes.

size

The image size in pixels.

scale

The image scaling mode.

addTabulationSymbol

Defines whether a tabulation symbol is to be added. The value is True if a tabulation symbol is to be added, and False otherwise.

Declared in ImageExtensions

back