Flags that indicate whether to deskew the image, which background color to use, whether to deskew the image if the skew angle is very small, which type of interpolation is to be used, whether the image is mostly text or text and pictures, and whether to use normal or fast rotation.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum DeskewExtendedCommandFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] public enum DeskewExtendedCommandFlags : Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class DeskewExtendedCommandFlags : public Enum |
Member | Description |
---|---|
DeskewImage | Deskew (rotate) the image. |
ReturnAngleOnly | Do not deskew (rotate) the image. Use this flag to find the angle of rotation. |
FillExposedArea | Use the color in fillColor to fill areas exposed by rotation. |
DoNotFillExposedArea | Find the suitable background color to fill areas exposed by rotation automatically. Ignore the DeskewExtendedCommand.FillColor parameter. |
NoThreshold | Deskew (rotate) the image for any deskew angle value. |
Threshold | Do not deskew the image if the deskew angle is very small (less than 0.5 degrees). |
RotateLinear | Do not perform interpolation when rotating. |
RotateResample | Perform bilinear interpolation when rotating. |
RotateBicubic | Perform bicubic interpolation when rotating. |
DocumentImage | The image contains only text. |
DocumentAndTextImage | The image contains text and pictures. |
UseNormalRotate | Use normal rotation speed (high quality). |
UseHighSpeedRotate | Use fast rotation speed (moderate quality - only for 1-bit images). |
Group | Flags |
Flags that indicate whether to deskew the image after the method finds the skew angle | DeskewImage, ReturnAngleOnly |
Flags that indicate which background color to use to fill areas exposed after rotation | FillExposedArea, DoNotFillExposedArea |
Flags that indicate whether to deskew the image if the skew angle is very small | NoThreshold, Threshold |
Flags that indicate indicate which type of interpolation to perform | RotateLinear, RotateResample, RotateBicubic |
Flags that indicate whether the image contains plain text or text and pictures | DocumentImage, DocumentAndTextImage |
Flags that indicate the rotation type: normal or fast. Normal gives high quality, whereas fast gives moderate quality and is only for 1-bit images. | NormalSpeedRotate, HighSpeedRotate |
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.Core.DeskewExtendedCommandFlags
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family