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



width
The width component of the new AnnSize structure.
height
The height component of the new AnnSize structure.

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

Initializes a new instance of the AnnSize structure from the specified dimension.

Syntax

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

Parameters

width
The width component of the new AnnSize structure.
height
The height component of the new AnnSize structure.

Remarks

The Unit property will be set to the default (Pixel).

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