Click or drag to resize
Pdf Library for .NET

PdfDocumentAddPage Method

Creates a new pdf page and adds it to the pdf document pages collection.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public PdfPage AddPage()

Return Value

Type: PdfPage
The newly created pdf page.
Remarks
If there is a previous page in the pages collection, the orientation and size are inherited from that page, otherwise a first page with the default A4 size and Portrait orientation is created.

The page margins are inherited from the default pdf document margins specified in Margins property.

See Also