Table of Contents

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 float

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

top float

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

right float

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

bottom float

The 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 double

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

top double

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

right double

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

bottom double

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

Returns

PdfRectangle

The new PdfRectangle that this method creates.