Click or drag to resize

DocumentInsertPage Method (Int32, PdfPage)

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:  ExpertPdf.HtmlToPdf.PdfDocument
Assembly:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax
public void InsertPage(
	int pageIndex,
	PdfPage pdfPage
)

Parameters

pageIndex
Type: SystemInt32
The index where the page will be inserted.
pdfPage
Type: ExpertPdf.HtmlToPdf.PdfDocumentPdfPage
The PDF page to be inserted.
See Also