Click or drag to resize
DocumentAddPage Method (Margins)
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: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntax
public PdfPage AddPage(
	Margins pageMargins
)

Parameters

pageMargins
Type: ExpertPdf.HtmlToPdf.PdfDocumentMargins
The PDF page margins

Return Value

Type: PdfPage
The newly created PDF page
See Also