LEADTOOLS Annotations (Leadtools.Annotations assembly)

DrawName Method

Show in webframe





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
) 

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

See Also

Reference

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.