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

DrawName Method






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

Parameters

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

This method is called internally by the annotation framework whenever the Draw method is called. You do not need to call this method directly.

If the NameVisible property is set to false, this method will not be called.

By default, this method will draw the Name text using the NameFont with the NameForeColor as the text color and NameBackColor as a solid brush fill the bounding rectangle of the name text.

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.