Rotate
This method rotates the image with the specified angle.
The method triggers the ContentChanged
event, which causes the
SCBCroViewer
control to repaint the image.
Syntax
Rotate (angle As Double, resize As Boolean)
Parameter | Description |
---|---|
angle |
Specifies the angle to rotate the image. |
resize |
If set to VARIANT_TRUE the image will be enlarged so that no pixel of the original image will be lost, else the image will keep the same size but some pixel information near the corners will be lost as a result of the rotation. The default value is -1. |