ComponentOne SuperTooltip for WinForms
C1.Win.8 Assembly / C1.Win.Interop Namespace / Rect 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 (Rect)
    In This Topic
    Creates a Rect 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 Rect
    public static Rect 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 Rect structure.
    See Also