public method ImageBuilder.SetSize

Brief

Sets the image height and width in pixels.

Declaration
C#
Gehtsoft.PDFFlow.Builder.ImageBuilder  SetSize (System.Single width, System.Single height)

Parameters
width

The image width in pixels.

height

The image height 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 ImageBuilder

back