Table of Contents

Constructor PdfRectangle

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

PdfRectangle()

Initializes a new instance of the PdfRectangle class with all values set to zero.

public PdfRectangle()

PdfRectangle(XPoint, XPoint)

Initializes a new instance of the PdfRectangle class with two points specifying two diagonally opposite corners.

public PdfRectangle(XPoint pt1, XPoint pt2)

Parameters

pt1 XPoint
pt2 XPoint

PdfRectangle(XPoint, XSize)

Initializes a new instance of the PdfRectangle class with the specified location and size.

public PdfRectangle(XPoint pt, XSize size)

Parameters

pt XPoint
size XSize

PdfRectangle(XRect)

Initializes a new instance of the PdfRectangle class with the specified XRect.

public PdfRectangle(XRect rect)

Parameters

rect XRect