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



graphics
The graphics used to paint.

The AnnPaintEventArgs Constructor is available in LEADTOOLS Document and Medical Imaging toolkits.

Initializes a new AnnPaintEventArgs class object and includes a graphics object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal graphics As Graphics _
)
Visual Basic (Usage)Copy Code
Dim graphics As Graphics
 
Dim instance As New AnnPaintEventArgs(graphics)
C# 
public AnnPaintEventArgs( 
   Graphics graphics
)
C++/CLI 
public:
AnnPaintEventArgs( 
   Graphics^ graphics
)

Parameters

graphics
The graphics used to paint.

Example

For an example, refer to AfterDrawingObjects.

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