static public method ImageExtensions.AddImageToSection

Brief

Adds an image in bytes with specified size in pixels and scaling mode to the section and returns the SectionBuilder.

Declaration
C#
Gehtsoft.PDFFlow.Builder.SectionBuilder  AddImageToSection (this Gehtsoft.PDFFlow.Builder.SectionBuilder sectionBuilder, System.Byte[] content, Gehtsoft.PDFFlow.Models.Shared.XSize size, Gehtsoft.PDFFlow.Models.Enumerations.ScalingMode scaling = None)

Parameters
sectionBuilder

This SectionBuilder.

content

The image content in bytes.

size

The image size in pixels.

scaling

The image scaling mode.

Declared in ImageExtensions

back