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