Creates a RectangleD structure based on the coordinates of its top-left and bottom-right corners.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public static RectangleD FromLTRB(
	double left,
	double top,
	double right,
	double bottom
)
Visual Basic
Public Shared Function FromLTRB ( _
	left As Double, _
	top As Double, _
	right As Double, _
	bottom As Double _
) As RectangleD

Parameters

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

Return Value

The newly created RectangleD structure.

See Also