HiQPdf Documentation

PdfDocumentAddPageAtIndex Method (Int32, PdfPageSize, PdfDocumentMargins, PdfPageOrientation)

Quickly Create High Quality PDFs
Adds a new page with the given size, margins and orientation at the given index. The first page index is 0

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 12.0.0.0
Syntax

public PdfPage AddPageAtIndex(
	int index,
	PdfPageSize size,
	PdfDocumentMargins margins,
	PdfPageOrientation orientation
)

Parameters

index
Type: SystemInt32
The index of the new page
size
Type: HiQPdfPdfPageSize
The page size in points
margins
Type: HiQPdfPdfDocumentMargins
The page margins
orientation
Type: HiQPdfPdfPageOrientation
The page orientation

Return Value

Type: PdfPage
The newly created PDF page
See Also

Reference