Creates a new PDF page and adds it to the collection. If there is a previous page in the collection, the orientation and size are inherited from the that page otherwise a first page with the default A4 size and Portrait orientation is created. The page margins are inherited from the default document margins.

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public PdfPage AddNewPage()
Visual Basic
Public Function AddNewPage As PdfPage
Visual C++
public:
PdfPage^ AddNewPage()

Return Value

Type: PdfPage
The newly created PDF page.

See Also