PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 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 Double, _
       ByVal top As Double, _
       ByVal right As Double, _
       ByVal bottom As Double _
    ) As RectangleD
    public static RectangleD FromLTRB( 
       double left,
       double top,
       double right,
       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