PdfDocumentAddPageAtIndex Method

Adds a new page with the given size, margins, orientation and rotation at the given index. The first page index is 0

Definition

Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
C#
public PdfPage AddPageAtIndex(
	int index,
	PdfPageSize size,
	PdfMargins margins,
	PdfPageOrientation orientation,
	PdfPageRotation rotation
)

Parameters

index  Int32
The index of the new page
size  PdfPageSize
The page size in points
margins  PdfMargins
The page margins
orientation  PdfPageOrientation
The page orientation
rotation  PdfPageRotation
The page rotation

Return Value

PdfPage
The newly created PDF page

See Also