Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfRectangle Structure > PdfRectangle Constructor > PdfRectangle Constructor (Single, Single, Single, Single)
Initializes a new instance of the PdfRectangle struct with the specified location and size.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfRectangle(
	float x,
	float y,
	float width,
	float height
)
VB
Public Sub New ( 
	x As Single,
	y As Single,
	width As Single,
	height As Single
)

Parameters

x
Type: System.Single
The x-coordinate of the upper-left corner of the rectangle.
y
Type: System.Single
The y-coordinate of the upper-left corner of the rectangle.
width
Type: System.Single
The width of the rectangle.
height
Type: System.Single
The height of the rectangle.

See Also