ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RectangleD Structure / FromLTRB Method
The X coordinate of the upper-left corner of the rectangular region.
The Y coordinate of the upper-left corner of the rectangular region.
The X coordinate of the lower-right corner of the rectangular region.
The Y coordinate of the lower-right corner of the rectangular region.

In This Topic
    FromLTRB Method
    In This Topic
    Creates a RectangleD structure based on the coordinates of its top-left and bottom-right corners.
    Syntax
    'Declaration
     
    Public Shared Function FromLTRB( _
       ByVal left As System.Double, _
       ByVal top As System.Double, _
       ByVal right As System.Double, _
       ByVal bottom As System.Double _
    ) As RectangleD
    public static RectangleD FromLTRB( 
       System.double left,
       System.double top,
       System.double right,
       System.double bottom
    )

    Parameters

    left
    The X coordinate of the upper-left corner of the rectangular region.
    top
    The Y coordinate of the upper-left corner of the rectangular region.
    right
    The X coordinate of the lower-right corner of the rectangular region.
    bottom
    The Y coordinate of the lower-right corner of the rectangular region.

    Return Value

    The newly created RectangleD structure.
    See Also