HiQPdf Documentation

PdfDocumentAddPageAtIndex Method

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

Namespace:  HiQPdfClient
Assembly:  HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax

public PdfPage AddPageAtIndex(
	int index,
	PdfPageSize size,
	PdfMargins margins,
	PdfPageOrientation orientation,
	PdfPageRotation rotation
)

Parameters

index
Type: SystemInt32
The index of the new page
size
Type: HiQPdfClientPdfPageSize
The page size in points
margins
Type: HiQPdfClientPdfMargins
The page margins
orientation
Type: HiQPdfClientPdfPageOrientation
The page orientation
rotation
Type: HiQPdfClientPdfPageRotation
The page rotation

Return Value

Type: PdfPage
The newly created PDF page
See Also

Reference