Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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 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 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