add_draw(function(sender, e)) draw.add(function(sender, e)) remove_draw(function(sender, e)) draw.remove(function(sender, e))
The event handler receives an argument of type Leadtools.Annotations.Core.AnnDrawDesignerEventArgs containing data related to this event. The following Leadtools.Annotations.Core.AnnDrawDesignerEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Leadtools.Annotations.Core.AnnDrawDesignerEventArgs.Cancel |
Gets or sets a value indicating whether the drawing operation should be canceled. |
Leadtools.Annotations.Core.AnnDrawDesignerEventArgs.Object |
Gets the Leadtools.Annotations.Core.AnnObject object currently being drawn. |
Leadtools.Annotations.Core.AnnDrawDesignerEventArgs.OperationStatus |
Gets the current draw operation status. |
Parameter | Type | Description |
---|---|---|
sender | 'var' | The source of the event. |
e | Leadtools.Annotations.Core.AnnDrawDesignerEventArgs | The event data. |