PdfRectangle.FromLTRB Method (Single, Single, Single, Single)

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(
	float left,
	float top,
	float right,
	float bottom
)
VB
Public Shared Function FromLTRB ( 
	left As Single,
	top As Single,
	right As Single,
	bottom As Single
) As PdfRectangle

Parameters

left
Type: System.Single
The x-coordinate of the upper-left corner of the rectangular region.
top
Type: System.Single
The y-coordinate of the upper-left corner of the rectangular region.
right
Type: System.Single
The x-coordinate of the lower-right corner of the rectangular region.
bottom
Type: System.Single
The y-coordinate of the lower-right corner of the rectangular region.

Return Value

Type: PdfRectangle
The new PdfRectangle that this method creates.

See Also