VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / Rectangle Structure / Rectangle Constructor
The x-coordinate of the upper-left corner of the rectangle.
The y-coordinate of the upper-left corner of the rectangle.
The width of the rectangle.
The height of the rectangle.




In This Topic
    Rectangle Constructor
    In This Topic
    Initializes a new instance of the Rectangle class with the specified location and size.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal left As Integer, _
       ByVal top As Integer, _
       ByVal width As Integer, _
       ByVal height As Integer _
    )
    'Usage
     
    Dim left As Integer
    Dim top As Integer
    Dim width As Integer
    Dim height As Integer
     
    Dim instance As New Rectangle(left, top, width, height)
    public Rectangle( 
       int left,
       int top,
       int width,
       int height
    )
    public: Rectangle( 
       int left,
       int top,
       int width,
       int height
    )
    public:
    Rectangle( 
       int left,
       int top,
       int width,
       int height
    )

    Parameters

    left
    The x-coordinate of the upper-left corner of the rectangle.
    top
    The y-coordinate of the upper-left corner of the rectangle.
    width
    The width of the rectangle.
    height
    The height of the rectangle.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also