This property sets the coordinates of a rectangle on the image. This rectangle is used by the CutRectImage method or used to process an elliptical area on the image.
Public Property Rect As Rectangle
public Rectangle Rect {get; set;}
Property Value
The coordinates of the rectangle
Explanation
The Rect property sets the coordinates of a rectangle on the image. This rectangle is used by the CutRectImage method or used to process an elliptical area on the image.
The origin (0,0) for the coordinate space is at the top left.
The Rect property can be set directly, for example,
ImageKit1.Effect.Rect = new
Rectangle(100,100,200,200)
will set an area on the image whose top left corner is at (100,100)
and that has a height and width of 200 respectively. For more
information, please refer to the System.Drawing.Rectangle.
If the ImageKit.Rect property
is set, it is possible to pass this rectangle directly into the
Rect property like this:
ImageKit.Effect.Rect =
ImageKit.Rect
The Rect property is used by the CutRectImage method or used to process an elliptical area on the image when the SelectMode property is set to EffectEllipse.
See Also
ImageKit.Effect Members | Newtone.ImageKit.Win.ImageKit