Table of Contents

Method AddPage

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

AddPage()

Creates a new page and adds it to this document. Depending on the IsMetric property of the current region the page size is set to A4 or Letter respectively. If this size is not appropriate it should be changed before any drawing operations are performed on the page.

public PdfPage AddPage()

Returns

PdfPage

AddPage(PdfPage)

Adds the specified page to this document. If the page is from an external document, it is imported to this document. In this case the returned page is not the same object as the specified one.

public PdfPage AddPage(PdfPage page)

Parameters

page PdfPage

Returns

PdfPage