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




width
The width component of the new AnnSize structure.
height
The height component of the new AnnSize structure.
unit
An AnnUnit structure specifying the unit of measure.
Initializes a new instance of the AnnSize structure from the specified dimensions and unit.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal width As Single, _
   ByVal height As Single, _
   ByVal unit As AnnUnit _
)
Visual Basic (Usage)Copy Code
Dim width As Single
Dim height As Single
Dim unit As AnnUnit
 
Dim instance As AnnSize(width, height, unit)
C# 
public AnnSize( 
   float width,
   float height,
   AnnUnit unit
)
Managed Extensions for C++ 
public: AnnSize( 
   float width,
   float height,
   AnnUnit unit
)
C++/CLI 
public:
AnnSize( 
   float width,
   float height,
   AnnUnit unit
)

Parameters

width
The width component of the new AnnSize structure.
height
The height component of the new AnnSize structure.
unit
An AnnUnit structure specifying the unit of measure.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features