Creates a
PdfRectangle structure with upper-left corner and
lower-right corner at the specified locations.
Namespace:
BitMiracle.Docotic.Pdf
Assembly:
BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)
Syntax
C#
public static PdfRectangle FromLTRB(
double left,
double top,
double right,
double bottom
)
VB
Public Shared Function FromLTRB (
left As Double,
top As Double,
right As Double,
bottom As Double
) As PdfRectangle
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
Type:
PdfRectangleThe new
PdfRectangle that this method creates.
See Also