Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfRectangle Structure > PdfRectangle Constructor > PdfRectangle Constructor (Double, Double, Double, Double)
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(
	double x,
	double y,
	double width,
	double height
)
VB
Public Sub New ( 
	x As Double,
	y As Double,
	width As Double,
	height As Double
)

Parameters

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

See Also