Indicates 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 to use, whether the image contains mostly text, and whether to use normal or fast rotation. This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="DeskewCommandFlags")]
[FlagsAttribute()]
public enum DeskewCommandFlags
<DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="DeskewCommandFlags")>
<FlagsAttribute()>
Public Enum DeskewCommandFlags
Inherits System.Enum
Implements System.IComparable, System.IConvertible, System.IFormattable
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="DeskewCommandFlags")]
[FlagsAttribute()]
public enum class DeskewCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Members
Value | Member | Description |
---|---|---|
0x00000000 | NoThreshold | Deskew (rotate) the image for any deskew angle value. |
0x00000000 | UseNormalRotate | Rotate at normal speed (high quality). |
0x00000000 | RotateLinear | Do not perform any interpolation methods when rotating. |
0x00000000 | DocumentImage | The image contains only text. |
0x00000000 | DeskewImage | Deskew (rotate) the image. |
0x00000000 | FillExposedArea | (0x00000000)Use the fill color (in the FillColor property, or the fillColor parameter of the Constructor) to fill the areas exposed by rotation. |
0x00000001 | ReturnAngleOnly | Do not deskew (rotate) the image. Generally this flag is used to find the angle of rotation. |
0x00000010 | DoNotFillExposedArea | Find the suitable background color used to fill areas exposed by rotation automatically. FillColor is ignored in this case. |
0x00000100 | Threshold | (0x00000000)Do not deskew the image if the deskew angle is very small (less than 0.5 degrees). |
0x00001000 | RotateResample | Perform bilinear interpolation when rotating. |
0x00002000 | RotateBicubic | Perform bicubic interpolation when rotating. |
0x00010000 | DocumentAndPictures | The image contains text and pictures or light text. |
0x00100000 | UseHighSpeedRotate | Rotate at high speed (moderate quality, only for 1-bit images). |
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 |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET