Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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 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