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

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

Syntax

C#
public PdfPage AddPage(
	Margins pageMargins
)
Visual Basic
Public Function AddPage ( 
	pageMargins As Margins
) As PdfPage
Visual C++
public:
PdfPage^ AddPage(
	Margins^ pageMargins
)

Parameters

pageMargins
Type: EvoPdf..::..Margins
The PDF page margins

Return Value

Type: PdfPage
The newly created PDF page

See Also