←Select platform

Draw Method

Summary

Draws this AnnObject on the specified surface.

Syntax

C#
VB
C++
public virtual void Draw( 
   Graphics graphics 
) 
  
Public Overridable Sub Draw( _ 
   ByVal graphics As 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

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