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