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



The Draw Event supports WPF/Silverlight.

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

Occurs when this AnnDrawDesigner object is drawing an AnnObject. Supported in Silverlight, Windows Phone 7

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. Supported in Silverlight, Windows Phone 7
Object Gets the AnnObject object currently being drawn. Supported in Silverlight, Windows Phone 7
OperationStatus Gets the current draw operation status. Supported in Silverlight, Windows Phone 7

Example

For C#/VB examples, refer to AnnDesigner.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Draw requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.