LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
DrawObject Method
See Also 
Leadtools.Annotations Namespace > AnnButtonObject Class : DrawObject Method



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

The DrawObject Method is available in LEADTOOLS Document and Medical Imaging toolkits.

graphics
The Graphics surface on which to draw this AnnButtonObject object.
Draws this AnnButtonObject 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 AnnButtonObject
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 AnnButtonObject 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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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