Click or drag to resize
Pdf Library for .NET

PdfPageCollectionInsert Method (Int32, PdfPage)

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

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax
public void Insert(
	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