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

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
C#
public PdfPage AddPage(
	Margins pageMargins
)

Parameters

pageMargins  Margins
The PDF page margins

Return Value

PdfPage
The newly created PDF page

See Also