Adds a new page with the given size, margins and orientation at the given index in collection. The first page index is 0
Namespace: HiQPdf
Assembly: HiQPdf (in HiQPdf.dll) Version: 15.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: PdfPageThe newly created PDF page
See Also