static public method ImageExtensions.AddImage

Brief

Adds an image with specified size in pixels and scaling mode from a file to the section and returns the ImageBuilder.

Declaration
C#
Gehtsoft.PDFFlow.Builder.ImageBuilder  AddImage (this Gehtsoft.PDFFlow.Builder.SectionBuilder sectionBuilder, string filePath, Gehtsoft.PDFFlow.Models.Shared.XSize size, Gehtsoft.PDFFlow.Models.Enumerations.ScalingMode scaling = None)

Parameters
sectionBuilder

This SectionBuilder.

filePath

A path to the image file.

size

The image size in pixels.

scaling

The image scaling mode.

Declared in ImageExtensions

back