This property sets the rectangle selected on the base image in the ImageKit Control.

[Visual Basic]Public Property Rect As System.Windows.Rect
[C#]public System.Windows.Rect RectBottom {get; set;}

Property Value

The value is of type System.Drawing.Rect and represents a rectangle selected on the image displayed in the ImageKit Control

Explanation

The Rect property sets the rectangle selected on the image in the ImageKit Control. This property is enabled by setting the RectDraw property to True. In that case, the mouse can be used to select an area on the base image. The coordinates of this selected area are set into the Rect property.

It is also possible to set the Rect property directly. For example

     ImageKit1.Rect = new Rectangle(100,100,200,200)

will set an selected 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.

The color of the border for the selected area can be set using the RectColor1 property.

See Also

ImageKit Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation