Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / ObjectRect Class / ObjectRect Constructor / ObjectRect Constructor(Single,Single,Single,Single)
The X coordinate of the rectangle.
The Y coordinate of the rectangle.
The width of the rectangle.
The height of the rectangle.

In This Topic
    ObjectRect Constructor(Single,Single,Single,Single)
    In This Topic
    Initializes a new instance of the ObjectRect class with the specified coordinates and size.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal x As System.Single, _
       ByVal y As System.Single, _
       ByVal width As System.Single, _
       ByVal height As System.Single _
    )
    public ObjectRect( 
       System.float x,
       System.float y,
       System.float width,
       System.float height
    )

    Parameters

    x
    The X coordinate of the rectangle.
    y
    The Y coordinate of the rectangle.
    width
    The width of the rectangle.
    height
    The height of the rectangle.
    See Also