Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnLength Constructor(Single,AnnUnit)
See Also 
Leadtools.Annotations Namespace > AnnLength Structure > AnnLength Constructor : AnnLength Constructor(Single,AnnUnit)



value
A single-precision floating point number that represents the length value.
unit
An AnnUnit structure specifying the unit of measure for this length.
Initializes a new instance of the AnnLength structure with the specified value and unit of measure.

Syntax

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

Parameters

value
A single-precision floating point number that represents the length value.
unit
An AnnUnit structure specifying the unit of measure for this length.

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