ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > Rotate Method |
Rotates an image about its center through the angle indicated by Angle. (Angle must be expressed in degrees, such as 45.0 to rotate 45 degrees.) RotateMode is examined to determined whether to clip the image or resize the bitmap. Set the IGProcessingCtl Control.BackColor Property to the color that you would like to display in the background that was previously covered by the image before it was rotated.
This method processes all image channels, including Alpha channel and Extra channels, if they exist.
Rotate (ByVal pPage As IGPage, ByVal Angle As Double, ByVal
RotationMode As enumIGRotationModes)
Name | Description |
---|---|
pPage | Reference to IGPage Object. |
Angle | Set to a positive or negative value for angle of rotation. |
RotationMode |
The value can be either:
|
N/A
1, 4, 8, 9-16-bit gray level, 24, 32
Image Processing and Effects