This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum DeskewCheckCommandFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] public enum DeskewCheckCommandFlags : Enum |
Managed Extensions for C++ | |
---|---|
[FlagsAttribute()] __value public enum DeskewCheckCommandFlags : public Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class DeskewCheckCommandFlags : public Enum |
Member | Description |
---|---|
DeskewImage | Deskew (rotate) the image. |
ReturnAngleOnly | Do not deskew (rotate) the image. Generally this flag is used to find the angle of rotation. |
FillExposedArea | Use the fill color (in the FillColor property, or the fillCOlor parameter of the Constructor) to fill the areas exposed by rotation. |
DoNotFillExposedArea | Find the suitable background color used to fill areas exposed by rotation automatically. FillColor is ignored in this case. |
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 any interpolation methods when rotating. |
RotateResample | Perform bilinear interpolation when rotating. |
RotateBicubic | Perform bicubic interpolation when rotating. |
DocumentImage | The image contains only text. |
DocumentAndPictures | The image contains text and pictures or light text. |
UseNormalRotate | Rotate at normal speed (high quality). |
UseHighSpeedRotate | Rotate at high speed (moderate quality, only for 1-bit images). |
DoNotUseCheckDeskew | Do not perform any of the bank check algorithms. Perform the ordinary deskew. |
UseNormalCheckDeskew | Use the bank check algorithm to deskew the image. This algorithm considers many features common to standard bank checks in order to determine orientation. |
UseLineDetectionToDeskewCheck | Use the line detection algorithm to deskew the image. |
You can use a bitwise OR (|) to specify one flag from each group.
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. | FillExposedArea, DoNotFillExposedArea |
Flags that indicate whether to deskew the image if the skew angle is very small. | NoThreshold, Threshold |
Flags that specify the type of interpolation to be used. | RotateLinear, RotateResample, RotateBicubic |
Flags that indicate whether the image is mostly text, or text and pictures. | DocumentImage, DocumentAndPictures |
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 |
Flags that indicate whether to deskew the image using ordinary deskew, bank check deskew, or line detection deskew. | DoNotUseCheckDeskew, UseNormalCheckDeskew, UseLineDetectionToDeskewCheck |
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.Core.DeskewCheckCommandFlags
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