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 sealed class RotateActivity : System.ComponentModel.IComponent, IClosable //In WinRT the IDisposable interface is replaced by IClosable
function Leadtools.Workflow.ImageProcessing.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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2