This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Visual Basic (Declaration) | |
---|---|
<DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="DeskewCommandFlags")> <FlagsAttribute()> Public Enum DeskewCommandFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="DeskewCommandFlags")] [FlagsAttribute()] public enum DeskewCommandFlags : Enum |
C++/CLI | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="DeskewCommandFlags")] [FlagsAttribute()] public enum class DeskewCommandFlags : public Enum |
Member | Description |
---|---|
DeskewImage | Deskew (rotate) the image. |
DocumentAndPictures | The image contains text and pictures or light text. |
DocumentImage | The image contains only text. |
DoNotFillExposedArea | Find the suitable background color used to fill areas exposed by rotation automatically. FillColor is ignored in this case. |
FillExposedArea | Use the fill color (in the FillColor property, or the fillColor parameter of the Constructor) to fill the areas exposed by rotation. |
NoThreshold | Deskew (rotate) the image for any deskew angle value. |
ReturnAngleOnly | Do not deskew (rotate) the image. Generally this flag is used to find the angle of rotation. |
RotateBicubic | Perform bicubic interpolation when rotating. |
RotateLinear | Do not perform any interpolation methods when rotating. |
RotateResample | Perform bilinear interpolation when rotating. |
Threshold | Do not deskew the image if the deskew angle is very small (less than 0.5 degrees). |
UseHighSpeedRotate | Rotate at high speed (moderate quality, only for 1-bit images). |
UseNormalRotate | Rotate at normal speed (high quality). |
You can use a bitwise OR (|) to specify one flag from each of the following groups:
Group | Flags |
Indicates whether to deskew the image after the method finds the skew angle. | DeskewImage, ReturnAngleOnly |
Indicates which background color to use. | FillExposedArea, DoNotFillExposedArea |
Indicates whether to deskew the image if the skew angle is very small. | NoThreshold, Threshold |
Specifies which type of interpolation to use. | RotateLinear, RotateResample, RotateBicubic |
Indicates whether the image contains mostly text, or text and pictures. | DocumentImage, DocumentAndPictures |
Indicates 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.Services.ImageProcessing.DataContracts.DeskewCommandFlags
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family