ScaleImage
This method resizes an existing image.
The scale factors define if the image becomes smaller or bigger.
You can specify different scale factors for the x and y direction.
A factor of 1 does not change the image size,
A factor of 2 doubles the number of pixels for the specified direction.
A factor of 0.5 halves the number of pixels.
Syntax
ScaleImage (ScaleX As Double, ScaleY As Double)
Parameter | Description |
---|---|
ScaleX |
Scale factor for the image width. |
ScaleY |
Scale factor for the image height. |