public method ImageBuilder.SetSize

Brief

Sets the image size in pixels.

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

Parameters
size

The image size in pixels.

Details

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

Declared in ImageBuilder

back