Click or drag to resize
Pdf Library for .NET

PdfDocumentAddPage(PdfCustomPageSize, PdfMargins, PdfPageOrientation) Method

Adds a new page with the specified size, margins, and orientation.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public PdfPage AddPage(
	PdfCustomPageSize pageSize,
	PdfMargins pageMargins,
	PdfPageOrientation pageOrientation
)

Parameters

pageSize  PdfCustomPageSize
The size of the new page, in points.
pageMargins  PdfMargins
The margins to apply to the new page.
pageOrientation  PdfPageOrientation
The orientation of the new page.

Return Value

PdfPage
The newly added PdfPage.
See Also