'Declaration Public Overloads Shared Sub Rotate( _ ByVal page As ImGearPage, _ ByVal angle As Double, _ ByVal mode As ImGearRotationModes, _ ByVal background As ImGearPixel _ )
'Usage Dim page As ImGearPage Dim angle As Double Dim mode As ImGearRotationModes Dim background As ImGearPixel ImGearProcessing.Rotate(page, angle, mode, background)
public static void Rotate( ImGearPage page, double angle, ImGearRotationModes mode, ImGearPixel background )
public: static void Rotate( ImGearPage* page, double angle, ImGearRotationModes mode, ImGearPixel* background )
public: static void Rotate( ImGearPage^ page, double angle, ImGearRotationModes mode, ImGearPixel^ background )
Parameters
- page
- Image to rotate.
- angle
- Rotation angle in degrees.
- mode
- Rotation mode. ImGearRotationModes.CLIP means that the image size is not changed during rotation and the part of picture out of image boundary is cut. ImGearRotationModes.EXPAND changes the image size according to the new picture boundary.
- background
- Background color to fill the out of picture area. Can be null (Nothing in VB NET).