static public method ImageExtensions.AddInlineImage

Brief

Adds an inline image with specified size in pixels and scaling mode from a file 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, Gehtsoft.PDFFlow.Models.Shared.XSize size, Gehtsoft.PDFFlow.Models.Enumerations.ScalingMode scale = None, bool addTabulationSymbol = False)

Parameters
paragraph

This ParagraphBuilder.

filePath

A path to the image file.

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