Click or drag to resize
Pdf Library for .NET

PdfDocumentAddPage Method

Adds a new page to the document. Shorthand for Add.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public PdfPage AddPage()

Return Value

PdfPage
The newly added PdfPage.
Example
PdfDocument document = new PdfDocument();
PdfPage page = document.AddPage();
document.Save("out.pdf");
document.Close();
See Also