ImageGear for .NET
Rotate(ImGearPage,Double,ImGearRotationModes,ImGearPixel,ImGearInterpolations) Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearProcessing Class > Rotate Method : Rotate(ImGearPage,Double,ImGearRotationModes,ImGearPixel,ImGearInterpolations) Method




page
Image to rotate.
angle
Rotation angle in degrees.
mode
Rotation mode (clip or expand).
background
Background color to fill the out of picture area; null (Nothing in VB NET) results in black background.
interpolation
Interpolation to use for rotation.

Glossary Item Box

Rotates an image using interpolation.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

page
Image to rotate.
angle
Rotation angle in degrees.
mode
Rotation mode (clip or expand).
background
Background color to fill the out of picture area; null (Nothing in VB NET) results in black background.
interpolation
Interpolation to use for rotation.

Remarks

This method processes all channels of the image as well as image's ROI, if it exists.

Background should be in the same color space as the Page, including Alpha and Extra channels. Background must have the same channel count and bit depth as a DIB?s color space.

Use CanApplyRotate method to check whether the operation can be performed.

Supported interpolations are BILINEAR and BICUBIC. Interpolation is supported for non-indexed images, and for indexed images with grayscale palette. It is not supported for 1bpp images.

See Also

©2013. Accusoft Corporation. All Rights Reserved.