Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
SliceCommand Constructor(Int32,RasterColor,SliceCommandFlags)
See Also 
Leadtools.ImageProcessing.Core Namespace > SliceCommand Class > SliceCommand Constructor : SliceCommand Constructor(Int32,RasterColor,SliceCommandFlags)




maximumDeskewAngle
Maximum angle of deskew, in hundredths of a degree. Possible values range from 0 to 1000. (The value in degrees is MaximumDeskewAngle divided by 100). This parameter is used only if the SliceCommandFlags.DeskewImage flag is set.
fillColor
Specifies the fill color for any exposed areas.
flags
Flags that indicate whether to deskew the sliced image, which type of interpolation to use when roating, and whether to cut the slice from the original image.
Initializes a new SliceCommand with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal maximumDeskewAngle As Integer, _
   ByVal fillColor As RasterColor, _
   ByVal flags As SliceCommandFlags _
)
Visual Basic (Usage)Copy Code
Dim maximumDeskewAngle As Integer
Dim fillColor As RasterColor
Dim flags As SliceCommandFlags
 
Dim instance As SliceCommand(maximumDeskewAngle, fillColor, flags)
C# 
public SliceCommand( 
   int maximumDeskewAngle,
   RasterColor fillColor,
   SliceCommandFlags flags
)
Managed Extensions for C++ 
public: SliceCommand( 
   int maximumDeskewAngle,
   RasterColor fillColor,
   SliceCommandFlags flags
)
C++/CLI 
public:
SliceCommand( 
   int maximumDeskewAngle,
   RasterColor fillColor,
   SliceCommandFlags flags
)

Parameters

maximumDeskewAngle
Maximum angle of deskew, in hundredths of a degree. Possible values range from 0 to 1000. (The value in degrees is MaximumDeskewAngle divided by 100). This parameter is used only if the SliceCommandFlags.DeskewImage flag is set.
fillColor
Specifies the fill color for any exposed areas.
flags
Flags that indicate whether to deskew the sliced image, which type of interpolation to use when roating, and whether to cut the slice from the original image.

Example

Refer to SliceCommandEventArgs example.

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