Inserts the specified page into the document pages collection at the specified index. The page to be added is allowed to be from another document. The source document of the page to be inserted must remain opened until the current document is saved.

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public void Insert(
	int pageIndex,
	PdfPage pdfPage
)
Visual Basic
Public Sub Insert ( 
	pageIndex As Integer,
	pdfPage As PdfPage
)
Visual C++
public:
void Insert(
	int pageIndex, 
	PdfPage^ pdfPage
)

Parameters

pageIndex
Type: System..::..Int32
The index where the page will be inserted.
pdfPage
Type: EvoPdf..::..PdfPage
The PDF page to be inserted.

See Also