static public method ImageExtensions.AddInlineImageToParagraph

Brief

Adds an inline image with specified width and height in pixels and scaling mode from a file 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, 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