This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum DeskewCommandFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] public enum DeskewCommandFlags : Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class DeskewCommandFlags : public Enum |
Member | Description |
---|---|
DeskewImage | Deskew (rotate) the image. |
ReturnAngleOnly | Don't 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 areas exposed by rotation. |
DoNotFillExposedArea | Determine the suitable background color for 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 | Don't 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 | Use normal rotation speed (high quality). |
UseHighSpeedRotate | Use fast rotation speed (moderate quality, only for 1-bit images). |
PerformPreProcessing | Perform preprocessing on the image before deskewing it. |
DoNotPerformPreProcessing | Don't perform preprocessing on the image before deskewing it. |
UseSelectiveDetection | Use the selective detection technique which is faster. |
UseNormalDetection | Don't use the selective detection technique which is more accurate. |
DoNotUseCheckDeskew | Perform the ordinary deskew. Do not perform any of the bank check algorithms. |
UseCheckDeskew | Use the bank check algorithm to deskew the image. This algorithm considers many features common to standard bank checks in order to determine orientation. |
UseLineDetectionCheckDeskew | Use the bank check line detection algorithm to deskew the image. |
You can use a bitwise OR (|) to specify one flag from each of the following groups:
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 which type of interpolation to use. | RotateLinear, RotateResample, RotateBicubic |
Flags that indicate whether the image contains mostly text, or text and pictures. | DocumentImage, DocumentAndPictures |
Flags that indicate whether to use normal or fast rotation speed. Normal results in high quality. Fast results in moderate quality and is only intended for 1-bit images. | NormalSpeedRotate, HighSpeedRotate |
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.Core.DeskewCommandFlags
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