LEADTOOLS WCF Image Processing (Leadtools.Services.ImageProcessing.DataContracts assembly)
LEAD Technologies, Inc

DeskewCommandFlags Enumeration






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.

Syntax
[FlagsAttribute()]
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="DeskewCommandFlags")]
public enum DeskewCommandFlags : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
<FlagsAttribute()>
<DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="DeskewCommandFlags")>
Public Enum DeskewCommandFlags 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As DeskewCommandFlags
[FlagsAttribute()]
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="DeskewCommandFlags")]
public enum DeskewCommandFlags : System.IComparableSystem.IConvertibleSystem.IFormattable  
Leadtools.Services.ImageProcessing.DataContracts.DeskewCommandFlags = function() { };
Leadtools.Services.ImageProcessing.DataContracts.DeskewCommandFlags.prototype = {
LeadtoolsMemberMarker(replace me) };
[FlagsAttribute()]
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="DeskewCommandFlags")]
public enum class DeskewCommandFlags : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
MemberDescription
DeskewImageDeskew (rotate) the image.
DocumentAndPicturesThe image contains text and pictures or light text.
DocumentImageThe image contains only text.
DoNotFillExposedAreaFind the suitable background color used to fill areas exposed by rotation automatically. FillColor is ignored in this case.
FillExposedAreaUse the fill color (in the FillColor property, or the fillColor parameter of the Constructor) to fill the areas exposed by rotation.
NoThresholdDeskew (rotate) the image for any deskew angle value.
ReturnAngleOnlyDo not deskew (rotate) the image. Generally this flag is used to find the angle of rotation.
RotateBicubicPerform bicubic interpolation when rotating.
RotateLinearDo not perform any interpolation methods when rotating.
RotateResamplePerform bilinear interpolation when rotating.
ThresholdDo not deskew the image if the deskew angle is very small (less than 0.5 degrees).
UseHighSpeedRotateRotate at high speed (moderate quality, only for 1-bit images).
UseNormalRotateRotate at normal speed (high quality).
Remarks
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
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Services.ImageProcessing.DataContracts.DeskewCommandFlags

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Leadtools.Services.ImageProcessing.DataContracts Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: LEADTOOLS Toolkit Features