Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
DeskewExtendedCommandFlags Enumeration
See Also  
Leadtools.ImageProcessing.Core Namespace : DeskewExtendedCommandFlags 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 is to be used, whether the image is mostly text or text and pictures, 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 DeskewExtendedCommandFlags 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As DeskewExtendedCommandFlags
C# 
[FlagsAttribute()]
public enum DeskewExtendedCommandFlags : Enum 
Managed Extensions for C++ 
[FlagsAttribute()]
__value public enum DeskewExtendedCommandFlags : public Enum 
C++/CLI 
[FlagsAttribute()]
public enum class DeskewExtendedCommandFlags : public Enum 

Members

MemberDescription
DeskewImage Deskew (rotate) the image.
ReturnAngleOnly Do not deskew (rotate) the image. Use this flag to find the angle of rotation.
FillExposedArea Use the color in fillColor to fill areas exposed by rotation.
DoNotFillExposedArea Find the suitable background color to fill areas exposed by rotation automatically. Ignore the FillColor parameter.
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 interpolation when rotating.
RotateResample Perform bilinear interpolation when rotating.
RotateBicubic Perform bicubic interpolation when rotating.
DocumentImage The image contains only text.
DocumentAndTextImage The image contains text and pictures.
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 angleDeskewImage, ReturnAngleOnly
Flags that indicate which background color to use to fill areas exposed after rotationFillExposedArea, DoNotFillExposedArea
Flags that indicate whether to deskew the image if the skew angle is very smallNoThreshold, Threshold
Flags that indicate indicate which type of interpolation to performRotateLinear, RotateResample, RotateBicubic
Flags that indicate whether the image contains plain text or text and picturesDocumentImage, DocumentAndTextImage
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

Inheritance Hierarchy

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

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