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



x
The horizontal position of the point.
y
The vertical position of the point.
unit
An AnnUnit value specifying the unit of measure for this point.

The AnnPoint Constructor(Single,Single,AnnUnit) is available in LEADTOOLS Document and Medical Imaging toolkits.

Initializes a new instance of the AnnPoint structure with the specified coordinates and unit of measure.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal unit As AnnUnit _
)
Visual Basic (Usage)Copy Code
Dim x As Single
Dim y As Single
Dim unit As AnnUnit
 
Dim instance As New AnnPoint(x, y, unit)
C# 
public AnnPoint( 
   float x,
   float y,
   AnnUnit unit
)
C++/CLI 
public:
AnnPoint( 
   float x,
   float y,
   AnnUnit unit
)

Parameters

x
The horizontal position of the point.
y
The vertical position of the point.
unit
An AnnUnit value specifying the unit of measure for this point.

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