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



graphics
The Graphics surface on which to draw the AnnContainer.
rect
The destination rectangle.

The Draw(Graphics,Rectangle) Method is available in LEADTOOLS Document and Medical Imaging toolkits.

graphics
The Graphics surface on which to draw the AnnContainer.
rect
The destination rectangle.
Draws the container on the specified graphics object and destination rectangle.

Syntax

Visual Basic (Declaration) 
Overloads Public Overridable Sub Draw( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnContainer
Dim graphics As Graphics
Dim rect As Rectangle
 
instance.Draw(graphics, rect)
C# 
public virtual void Draw( 
   Graphics graphics,
   Rectangle rect
)
C++/CLI 
public:
virtual void Draw( 
   Graphics^ graphics,
   Rectangle rect
) 

Parameters

graphics
The Graphics surface on which to draw the AnnContainer.
rect
The destination rectangle.

Remarks

All visible objects in this container will be drawn into the specified graphics.

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