Leadtools.Annotations Namespace > AnnObject Class : DrawName Method |
function Leadtools.Annotations.AnnObject.DrawName( graphics )
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.
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