Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DrawObject Method
See Also 
Leadtools.Annotations Namespace > AnnTextObject Class : DrawObject Method



graphics
The Graphics surface on which to draw this AnnTextObject object.
graphics
The Graphics surface on which to draw this AnnTextObject object.
Draws this AnnTextObject object on the specified surface.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub DrawObject( _
   ByVal graphics As Graphics _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnTextObject
Dim graphics As Graphics
 
instance.DrawObject(graphics)
C# 
protected override void DrawObject( 
   Graphics graphics
)
C++/CLI 
protected:
void DrawObject( 
   Graphics graphics
) override 

Parameters

graphics
The Graphics surface on which to draw this AnnTextObject object.

Remarks

This method is called internally by the annotation framework whenever the AnnObject.Draw method is called. There is no need to call this method directly.
For more information, refer to Using Text in Annotation Object.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features