Method FromLTRB
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
FromLTRB(float, float, float, float)
Creates a PdfRectangle structure with upper-left corner and lower-right corner at the specified locations.
public static PdfRectangle FromLTRB(float left, float top, float right, float bottom)
Parameters
left
floatThe x-coordinate of the upper-left corner of the rectangular region.
top
floatThe y-coordinate of the upper-left corner of the rectangular region.
right
floatThe x-coordinate of the lower-right corner of the rectangular region.
bottom
floatThe y-coordinate of the lower-right corner of the rectangular region.
Returns
- PdfRectangle
The new PdfRectangle that this method creates.
FromLTRB(double, double, double, double)
Creates a PdfRectangle structure with upper-left corner and lower-right corner at the specified locations.
public static PdfRectangle FromLTRB(double left, double top, double right, double bottom)
Parameters
left
doubleThe x-coordinate of the upper-left corner of the rectangular region.
top
doubleThe y-coordinate of the upper-left corner of the rectangular region.
right
doubleThe x-coordinate of the lower-right corner of the rectangular region.
bottom
doubleThe y-coordinate of the lower-right corner of the rectangular region.
Returns
- PdfRectangle
The new PdfRectangle that this method creates.