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



graphics
The Graphics surface on which to draw this AnnControlPoint.
centerPoint
The center point
converter
An AnnUnitConverter used to convert centerPoint to pixel coordinates.
graphics
The Graphics surface on which to draw this AnnControlPoint.
centerPoint
The center point
converter
An AnnUnitConverter used to convert centerPoint to pixel coordinates.
Draws this AnnControlPoint on the specified surface.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Draw( _
   ByVal graphics As Graphics, _
   ByVal centerPoint As AnnPoint, _
   ByVal converter As AnnUnitConverter _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnControlPoint
Dim graphics As Graphics
Dim centerPoint As AnnPoint
Dim converter As AnnUnitConverter
 
instance.Draw(graphics, centerPoint, converter)
C# 
public virtual void Draw( 
   Graphics graphics,
   AnnPoint centerPoint,
   AnnUnitConverter converter
)
C++/CLI 
public:
virtual void Draw( 
   Graphics graphics,
   AnnPoint centerPoint,
   AnnUnitConverter^ converter
) 

Parameters

graphics
The Graphics surface on which to draw this AnnControlPoint.
centerPoint
The center point
converter
An AnnUnitConverter used to convert centerPoint to pixel coordinates.

Remarks

This method is called internally by the AnnEditDesigner.

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