Leadtools.Workflow.ImageProcessing Namespace : RotateActivity Class |
public class RotateActivity : ImageProcessingBaseActivity, System.ComponentModel.IComponent, System.IDisposable
'Declaration Public Class RotateActivity Inherits ImageProcessingBaseActivity Implements System.ComponentModel.IComponent, System.IDisposable
'Usage Dim instance As RotateActivity
public ref class RotateActivity : public ImageProcessingBaseActivity, System.ComponentModel.IComponent, System.IDisposable
This activity has the following features:
RotateCommandFlags.Resample and RotateCommandFlags.Bicubic can be combined with RotateCommandFlags.Resize, but they can not be combined with each other.
If RotateCommandFlags.Resize is set, then the image is resized. Otherwise, the image is cropped.
Interpolation can be done while rotating certain images. This produces superior output, eliminating the jaggedness occurring when rotating images at angles that are not multiples of 90. (ie when RotateActivity.Angle is not a multiple of 9000).
The only images that are interpolated are:
For all other images, RotateActivity ignores the resampling flags and the rotation is performed without interpolation.
For more information, refer to Processing an Image.