Click or drag to resize

DocumentAddPage(Margins) Method

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: ExpertPdf.HtmlToPdf.PdfDocument
Assembly: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntax
public PdfPage AddPage(
	Margins pageMargins
)

Parameters

pageMargins  Margins
The PDF page margins

Return Value

PdfPage
The newly created PDF page
See Also