The LeadRect Constructor(Int32,Int32,Int32,Int32) is available in LEADTOOLS Document and Medical Imaging toolkits.
Initializes a new instance of the LeadRect structure at a specific location using specified dimensions.Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal width As Integer, _ ByVal height As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim x As Integer Dim y As Integer Dim width As Integer Dim height As Integer Dim instance As New LeadRect(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 in pixels.
- height
- The height of the rectangle in pixels.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7