PageCollectionAddNewPage(PdfPageSize, Margins, PdfPageOrientation) Method

Creates a new PDF page with the specified size, margins and orientation and adds it to the collection.

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
C#
public PdfPage AddNewPage(
	PdfPageSize pageSize,
	Margins pageMargins,
	PdfPageOrientation pageOrientation
)

Parameters

pageSize  PdfPageSize
The PDF page size in points.
pageMargins  Margins
The PDF page margins in points.
pageOrientation  PdfPageOrientation
The PDF page orientation.

Return Value

PdfPage
The newly created PDF page.

See Also