PdfDocumentInsertPdf Method

Inserts another PDF into of the current PdfDocument, starting at a given Page Index.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.3.2.0 (2020.3.2.0)
Syntax
public PdfDocument InsertPdf(
	PdfDocument AnotherPdfFile,
	int AtIndex = 0
)

Parameters

AnotherPdfFile
Type: IronPdfPdfDocument
Another PdfDocument.
AtIndex (Optional)
Type: SystemInt32
Index at which to insert the new content. Note: Page 1 has index 0...

Return Value

Type: PdfDocument
Returns this PdfDocument object, allowing for a 'fluent' (LINQ like) chained in-line code style
See Also