Click or drag to resize
Pdf Library for .NET

PdfPageCollectionAdd Method

Adds a new page to the document, using the document's default size and margins.

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

Return Value

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