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

OnBeforeDrawingObjects Method






An RasterCollection<AnnPaintEventArgs> that contains the event data.
Raises the Leadtools.Annotations.AnnContainer.BeforeDrawingObjects event.
Syntax
protected virtual void OnBeforeDrawingObjects( 
   AnnPaintEventArgs e
)
'Declaration
 
Protected Overridable Sub OnBeforeDrawingObjects( _
   ByVal e As AnnPaintEventArgs _
) 
'Usage
 
Dim instance As AnnContainer
Dim e As AnnPaintEventArgs
 
instance.OnBeforeDrawingObjects(e)
protected virtual void OnBeforeDrawingObjects( 
   AnnPaintEventArgs e
)
 function Leadtools.Annotations.AnnContainer.OnBeforeDrawingObjects( 
   e 
)
protected:
virtual void OnBeforeDrawingObjects( 
   AnnPaintEventArgs^ e
) 

Parameters

e
An RasterCollection<AnnPaintEventArgs> that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate. The OnBeforeDrawingObjects 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 OnBeforeDrawingObjects in a derived class, be sure to call the base class's OnBeforeDrawingObjects method so that registered delegates receive the event.
Example
For an example, refer to BeforeDrawingObjects.
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

AnnContainer Class
AnnContainer Members

 

 


Products | Support | Contact Us | Copyright Notices

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