Click or drag to resize
Pdf Library for .NET

PdfPageCollectionInsert(Int32, PdfPage) Method

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

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

Parameters

pageIndex  Int32
The index where the pdf page will be inserted.
pdfPage  PdfPage
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