The AnnLength Constructor(Single,AnnUnit) is available in LEADTOOLS Document and Medical Imaging toolkits.
Initializes a new instance of the AnnLength structure with the specified value and unit of measure.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 New AnnLength(value, 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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7