public method ImageBuilder.SetSize
Sets the image height and width in pixels.
Declaration | ||||
|
Parameters | |
width |
The image width in pixels. |
height |
The image height in pixels. |
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