[]
        
(Showing Draft Content)

C1.Interop.Rect.FromLTRB

FromLTRB Method

FromLTRB(double, double, double, double)

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

Declaration
public static Rect FromLTRB(double left, double top, double right, double bottom)
Parameters
Type Name Description
double left

The X coordinate of the upper-left corner of the rectangular region.

double top

The Y coordinate of the upper-left corner of the rectangular region.

double right

The X coordinate of the lower-right corner of the rectangular region.

double bottom

The Y coordinate of the lower-right corner of the rectangular region.

Returns
Type Description
Rect

The newly created Rect structure.