Click or drag to resize
Pdf Library for .NET

PdfDocumentAddPage(PdfCustomPageSize, PdfMargins) Method

Adds a new page with the specified size and margins.

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

Parameters

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

Return Value

PdfPage
The newly added PdfPage.
See Also