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.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) |
Parameters
The new rectangle will have the same units as location.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7