Click or drag to resize
Pdf Library for .NET

PdfDocumentAddPage(PdfCustomPageSize, PdfMargins, PdfPageOrientation) Method

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

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

Parameters

pageSize  PdfCustomPageSize
The pdf page size.
pageMargins  PdfMargins
The pdf page margins.
pageOrientation  PdfPageOrientation
The pdf page orientation.

Return Value

PdfPage
The newly created pdf page.
See Also