Documents for PDF, .NET Edition Documentation
FromLTRB Method

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Text Namespace > ObjectRect Class : FromLTRB Method
The X coordinate of the top left corner.
The Y coordinate of the top left corner.
The X coordinate of the bottom right corner.
The Y coordinate of the bottom right corner.
Creates an instance of ObjectRect from (left, top, right, bottom) coordinates.
Syntax
'Declaration
 
Public Shared Function FromLTRB( _
   ByVal left As System.Single, _
   ByVal top As System.Single, _
   ByVal right As System.Single, _
   ByVal bottom As System.Single _
) As ObjectRect
public static ObjectRect FromLTRB( 
   System.float left,
   System.float top,
   System.float right,
   System.float bottom
)

Parameters

left
The X coordinate of the top left corner.
top
The Y coordinate of the top left corner.
right
The X coordinate of the bottom right corner.
bottom
The Y coordinate of the bottom right corner.
See Also

Reference

ObjectRect Class
ObjectRect Members