Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
DeskewCommandFlags Enumeration
See Also  
Leadtools.ImageProcessing.Core Namespace : DeskewCommandFlags Enumeration




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 to use, whether the image contains mostly text, and whether to use normal or fast rotation.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum DeskewCommandFlags 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As DeskewCommandFlags
C# 
[FlagsAttribute()]
public enum DeskewCommandFlags : Enum 
Managed Extensions for C++ 
[FlagsAttribute()]
__value public enum DeskewCommandFlags : public Enum 
C++/CLI 
[FlagsAttribute()]
public enum class DeskewCommandFlags : public Enum 

Members

MemberDescription
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).

Remarks

You can use a bitwise OR (|) to specify one flag from each of the following groups:
GroupFlags
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

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.ImageProcessing.Core.DeskewCommandFlags

Requirements

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

See Also