Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
DeskewExtendedCommand Constructor(Int32,Int32,Color,DeskewExtendedCommandFlags)
See Also 
Leadtools.ImageProcessing Namespace > DeskewExtendedCommand Class > DeskewExtendedCommand Constructor : DeskewExtendedCommand Constructor(Int32,Int32,Color,DeskewExtendedCommandFlags)



angleResolution
Deskew angle precision. The valid range is from 1 to uAngleRange (maximum deskew angle). The real value is divided by 10.
angleRange
Maximum angle of deskew, in hundredths of degrees. Possible values range from -4500 to 4500. This value is divided internally by 100.
fillColor
RasterColor used to fill the background following rotation. This value is used only if DeskewExtendedCommandFlags.FillExposedArea is set in flags.
flags
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, and whether the image is mostly text or text and pictures.
Initializes a new DeskewExtendedCommand with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal angleResolution As Integer, _
   ByVal angleRange As Integer, _
   ByVal fillColor As Color, _
   ByVal flags As DeskewExtendedCommandFlags _
)
Visual Basic (Usage)Copy Code
Dim angleResolution As Integer
Dim angleRange As Integer
Dim fillColor As Color
Dim flags As DeskewExtendedCommandFlags
 
Dim instance As DeskewExtendedCommand(angleResolution, angleRange, fillColor, flags)
C# 
public DeskewExtendedCommand( 
   int angleResolution,
   int angleRange,
   Color fillColor,
   DeskewExtendedCommandFlags flags
)
C++/CLI 
public:
DeskewExtendedCommand( 
   int angleResolution,
   int angleRange,
   Color fillColor,
   DeskewExtendedCommandFlags flags
)

Parameters

angleResolution
Deskew angle precision. The valid range is from 1 to uAngleRange (maximum deskew angle). The real value is divided by 10.
angleRange
Maximum angle of deskew, in hundredths of degrees. Possible values range from -4500 to 4500. This value is divided internally by 100.
fillColor
RasterColor used to fill the background following rotation. This value is used only if DeskewExtendedCommandFlags.FillExposedArea is set in flags.
flags
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, and whether the image is mostly text or text and pictures.

Example

For an example, refer to DeskewExtendedCommand.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also