static public method ImageExtensions.AddInlineImage

Brief

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

Declaration
C#
Gehtsoft.PDFFlow.Builder.InlineImageBuilder  AddInlineImage (this Gehtsoft.PDFFlow.Builder.ParagraphBuilder paragraph, string filePath, System.Single width, System.Single height, Gehtsoft.PDFFlow.Models.Enumerations.ScalingMode scale = None, bool addTabulationSymbol = False)

Parameters
paragraph

This ParagraphBuilder.

filePath

A path to the image file.

width

The image width in pixels.

height

The image height 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