Visual Basic (Declaration) | |
---|---|
Public Property Rectangle As Rectangle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Rectangle Rectangle {get; set;} |
Return Value
The Rectangle to which the image will be cropped.For an example, refer to IRasterCommand.
The value of this property should be included fully within the image dimenion otherwise an exception will be thrown.
Tha value of this property 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.
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6