[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.ObjectRect.FromLTRB

FromLTRB Method

FromLTRB(float, float, float, float)

Creates an instance of ObjectRect from (left, top, right, bottom) coordinates.

Declaration
public static ObjectRect FromLTRB(float left, float top, float right, float bottom)
Public Shared Function FromLTRB(left As Single, top As Single, right As Single, bottom As Single) As ObjectRect
Parameters
Type Name Description
float left

The X coordinate of the top left corner.

float top

The Y coordinate of the top left corner.

float right

The X coordinate of the bottom right corner.

float bottom

The Y coordinate of the bottom right corner.

Returns
Type Description
ObjectRect