The AnnRectangle Constructor(Single,Single,Single,Single) is available in LEADTOOLS Document and Medical Imaging toolkits.
Initializes a new instance of the AnnRectangle structure using the specified dimensions.Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal x As Single, _ ByVal y As Single, _ ByVal width As Single, _ ByVal height As Single _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim x As Single Dim y As Single Dim width As Single Dim height As Single Dim instance As New AnnRectangle(x, y, width, height) |
Parameters
- x
- The x-coordinate of the upper-left corner of the rectangle.
- y
- The y-coordinate of the upper-left corner of the rectangle.
- width
- The width of the rectangle.
- height
- The height of the rectangle.
The unit of measure will be set to the default (Pixel).
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7