Click or drag to resize
Pdf Library for .NET

PdfDocumentInsertPage Method (Int32, PdfPage)

Inserts the specified page into the pdf document pages collection at the specified index.

Namespace:  SelectPdf
Assembly:  Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 24.1
Syntax
public void InsertPage(
	int pageIndex,
	PdfPage pdfPage
)

Parameters

pageIndex
Type: SystemInt32
The index where the pdf page will be inserted.
pdfPage
Type: SelectPdfPdfPage
The pdf page to be inserted into the collection.
Remarks
The specified page can belong to another pdf document.

Note Note
The source pdf document must remain opened until the current document is saved.
See Also