static public method ImageExtensions.AddImageToSection

Brief

Adds an image with a specified scaling mode from a file to the section and returns the SectionBuilder.

Declaration
C#
Gehtsoft.PDFFlow.Builder.SectionBuilder  AddImageToSection (this Gehtsoft.PDFFlow.Builder.SectionBuilder sectionBuilder, string filePath, Gehtsoft.PDFFlow.Models.Enumerations.ScalingMode scaling = None)

Parameters
sectionBuilder

This SectionBuilder.

filePath

A path to the image file.

scaling

The image scaling mode.

Declared in ImageExtensions

back