Leadtools.Workflow.ImageProcessing Namespace : RotateCommandFlags Enumeration |
[FlagsAttribute()] public enum RotateCommandFlags : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <FlagsAttribute()> Public Enum RotateCommandFlags Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As RotateCommandFlags
[FlagsAttribute()] public enum class RotateCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | None | Default value.Do not resize the image; crop it. |
0x00000001 | Resize | Size resulting image as needed. |
0x00000002 | Resample | Perform bilinear interpolation when rotating. |
0x00000004 | Bicubic | Perform bicubic interpolation when rotating. |
RotateCommandFlags.Resample and RotateCommandFlags.Bicubic can be combined with RotateCommandFlags.Resize, but they can not be combined with each other. Therefore, you can pass RotateCommandFlags.Resample OR RotateCommandFlags.Resize, but not RotateCommandFlags.Resample OR RotateCommandFlags.Bicubic.
If RotateCommandFlags.Resize is set, then the image is resized. Otherwise, the image is cropped.
System.Object
System.ValueType
System.Enum
Leadtools.Workflow.ImageProcessing.RotateCommandFlags