Click or drag to resize

PageCollectionAddNewPage 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:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax
public PdfPage AddNewPage(
	Margins pageMargins
)

Parameters

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

Return Value

Type: PdfPage
The newly created PDF page.
See Also