←Select platform

DrawName Method

Summary

Draws this AnnObject name on the specified surface.

Syntax

C#
VB
C++
protected virtual void DrawName( 
   Graphics graphics 
) 
  
Protected Overridable Sub DrawName( _ 
   ByVal graphics As 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly