LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

OnDraw Method






An AnnDrawDesignerEventArgs that contains the event data.
Raises the Leadtools.Annotations.AnnDrawDesigner.Draw event.
Syntax
protected virtual void OnDraw( 
   AnnDrawDesignerEventArgs e
)
'Declaration
 
Protected Overridable Sub OnDraw( _
   ByVal e As AnnDrawDesignerEventArgs _
) 
'Usage
 
Dim instance As AnnDrawDesigner
Dim e As AnnDrawDesignerEventArgs
 
instance.OnDraw(e)
protected virtual void OnDraw( 
   AnnDrawDesignerEventArgs e
)
 function Leadtools.Annotations.AnnDrawDesigner.OnDraw( 
   e 
)
protected:
virtual void OnDraw( 
   AnnDrawDesignerEventArgs^ e
) 

Parameters

e
An AnnDrawDesignerEventArgs that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate. The OnDraw method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Notes to Inheritors: When overriding OnDraw in a derived class, be sure to call the base class's OnDraw method so that registered delegates receive the event.
Example
For an example, refer to AnnDesigner.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnDrawDesigner Class
AnnDrawDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.