PdfPagesCollectionAddPage(PdfPageSize, PdfDocumentMargins, PdfPageOrientation) Method

Adds a new page with the given size, margins and orientation at the end of this collection

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
C#
public PdfPage AddPage(
	PdfPageSize size,
	PdfDocumentMargins margins,
	PdfPageOrientation orientation
)

Parameters

size  PdfPageSize
The page size in points
margins  PdfDocumentMargins
The page margins
orientation  PdfPageOrientation
The page orientation

Return Value

PdfPage
The added page

See Also