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



location
An AnnPoint structure that represents the upper-left corner of the rectangular region.
size
An AnnSize structure that represents the width and height of the rectangular region.

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

Initializes a new instance of the AnnRectangle structure at the specified location and of the specified size.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal location As AnnPoint, _
   ByVal size As AnnSize _
)
Visual Basic (Usage)Copy Code
Dim location As AnnPoint
Dim size As AnnSize
 
Dim instance As New AnnRectangle(location, size)
C# 
public AnnRectangle( 
   AnnPoint location,
   AnnSize size
)
C++/CLI 
public:
AnnRectangle( 
   AnnPoint location,
   AnnSize size
)

Parameters

location
An AnnPoint structure that represents the upper-left corner of the rectangular region.
size
An AnnSize structure that represents the width and height of the rectangular region.

Remarks

The new rectangle will have the same units as location.

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