public method InlineImageBuilder.SetSize

Brief

Sets the inline image size in pixels.

Declaration
C#
Gehtsoft.PDFFlow.Builder.InlineImageBuilder  SetSize (Gehtsoft.PDFFlow.Models.Shared.XSize size)

Parameters
size

The image size in pixels.

Details

You can set the image width and height only if its scaling mode is None or UserDefined. Otherwise, the library will ignore the passed values or throw the exception ScalingModeIsNotSuitableErr.

Declared in InlineImageBuilder

back