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



rc
The Rectangle to which the image will be cropped.
Initializes a new CropCommand with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal rc As Rectangle _
)
Visual Basic (Usage)Copy Code
Dim rc As Rectangle
 
Dim instance As CropCommand(rc)
C# 
public CropCommand( 
   Rectangle rc
)
C++/CLI 
public:
CropCommand( 
   Rectangle rc
)

Parameters

rc
The Rectangle to which the image will be cropped.

Example

For an example, refer to CropCommand

Remarks

rc should be included fully within the image dimenion otherwise an exception will be thrown.

rc should be in image coordinates. Therefore, you must account for the RasterImage.ViewPerspective of the image. For information about image coordinates, refer to Accounting for View Perspective.

Requirements

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

See Also