Table of Contents

Constructor XForm

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

XForm()

Initializes a new instance of the XForm class.

protected XForm()

XForm(PdfDocument, XRect)

Initializes a new instance of the XForm class that represents a page of a PDF document.

public XForm(PdfDocument document, XRect viewBox)

Parameters

document PdfDocument

The PDF document.

viewBox XRect

The view box of the page.

XForm(PdfFormXObject, PdfRectangle)

Initializes a new instance of the XForm class that represents an existing PdfFormXObject.

public XForm(PdfFormXObject formXObject, PdfRectangle boundingBox)

Parameters

formXObject PdfFormXObject

The PdfFormXObject.

boundingBox PdfRectangle

The bounding box of the PdfFormXObject.

XForm(PdfDocument, XSize)

Initializes a new instance of the XForm class that represents a page of a PDF document.

public XForm(PdfDocument document, XSize size)

Parameters

document PdfDocument

The PDF document.

size XSize

The size of the page.

XForm(PdfDocument, XUnit, XUnit)

Initializes a new instance of the XForm class that represents a page of a PDF document.

public XForm(PdfDocument document, XUnit width, XUnit height)

Parameters

document PdfDocument

The PDF document.

width XUnit

The width of the page.

height XUnit

The height of the page