LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Draw Event
See Also 
Leadtools.Annotations Namespace > AnnDrawDesigner Class : Draw Event



The Draw Event is available in LEADTOOLS Document and Medical Imaging toolkits.

Occurs when this AnnDrawDesigner object is drawing an AnnObject.

Syntax

Visual Basic (Declaration) 
Public Event Draw As EventHandler(Of AnnDrawDesignerEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As AnnDrawDesigner
Dim handler As EventHandler(Of AnnDrawDesignerEventArgs)
 
AddHandler instance.Draw, handler
C++/CLI 
public:
event EventHandler<AnnDrawDesignerEventArgs^>^ Draw

Event Data

The event handler receives an argument of type AnnDrawDesignerEventArgs containing data related to this event. The following AnnDrawDesignerEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Gets or sets a value indicating whether the drawing operation should be canceled.
Object Gets the AnnObject object currently being drawn.
OperationStatus Gets the current draw operation status.

Example

For an example, refer to AnnDesigner.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features