This class provides data for the StartDrawObject event and the EndDrawObject event.

[Visual Basic] Public Class AnnotationDrawEventArgs Inherits EventArgs
[C#] public class AnnotationDrawEventArgs : EventArgs

Explanation

Property Type Explanation
 Index Integer (Visual Basic)
int(C#)
Retrieves the object number of the object drawn (this is the same as the object's Z-Order)
 DrawPoint Point() (Visual Basic)
Point[](C#)
Retrieves the completed coordinate points for the object
* For the StartDrawObject event, this refers to the initial point (the first point drawn). The Point array will retrieve this initial point only.
* For the EndDrawObject event, this refers to the coordinate points needed to draw the completed object.
(For the Line object, that would be the start point and the end point. For the Rectangle, Ellipse, Text, and Image objects, that would be the top, left and bottom, right points. For the Polyline, Polygon, and Pen, that would be all points contained in the object.)

See Also

ImageKit Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation