This method draws an ellipse.
Parameters
rect
The Rectangle structure that defines the bounding rectangle for the ellipse.
Return Value
Returns True if successful, otherwise returns False.
Explanation
The DrawEllipse method draws an ellipse. To draw an ellipse, set appropriate values in the PenWidth, ForeColor, BackColor, and Fill properties. Set the Rectangle structure that defines the bounding rectangle for the ellipse in the DrawEllipse's rect parameter. When the DrawEllipse method is executed, the ellipse will be drawn. If a portion of the ellipse lies outside the ImageKit control, the ellipse will be resized to fit completely within the ImageKit control.
To delete the ellipse drawn with the DrawEllipse method, right click the object and display the context menu, the select "Undo" or execute the Undo method.
The DrawEllipse method can be used without setting the EditKind property to KindOfEdit.Ellipse.
It is also possible to draw an ellipse by setting the EditKind property to KindOfEdit.Ellipse then, on the base image displayed in the ImageKit control, use the mouse. For more details, please refer to the Edit Overview.
See also
ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit