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

Draw Method (AnnObject)






The Graphics surface on which to draw this AnnObject.
Draws this AnnObject on the specified surface.
Syntax
public virtual void Draw( 
   Graphics graphics
)
'Declaration
 
Public Overridable Sub Draw( _
   ByVal graphics As Graphics _
) 
'Usage
 
Dim instance As AnnObject
Dim graphics As Graphics
 
instance.Draw(graphics)
public virtual void Draw( 
   Graphics graphics
)
 function Leadtools.Annotations.AnnObject.Draw( 
   graphics 
)
public:
virtual void Draw( 
   Graphics^ graphics
) 

Parameters

graphics
The Graphics surface on which to draw this AnnObject.
Remarks

This method is called internally by the annotation framework whenever the Draw(Graphics) of the owner container of this AnnObject is called. You do not need to call this method directly.

If an object is invisible (Visible is set to false), it will not draw itself.

This method will call DrawObject first to draw the object itself, DrawName to draw the name of the object and then finally DrawLocked to draw the locked object (if the object is currently locked).

Derived annotation objects are not encouraged to override this method directly. Instead override DrawObject, DrawName and DrawLocked individually.

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

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices

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