Skip to content

PdfFixedDocument.InsertFile Method

Overloads

Name Description
InsertFile(Int32,Int32,String) Inserts a Pdf file in the document.
InsertFile(Int32,Int32,Stream) Inserts a Pdf file in the document.

InsertFile(Int32,Int32,String)

Inserts a Pdf file in the document.

C#
public void InsertFile(int pageIndex, int outlineIndex, string fileName)

Parameters

pageIndex Int32

Position in the Pages collection where the pages from the file are inserted.

outlineIndex Int32

Position in the Outline collection where the outlines from the file are inserted.

fileName String

Path to Pdf file to append.

InsertFile(Int32,Int32,Stream)

Inserts a Pdf file in the document.

C#
public void InsertFile(int pageIndex, int outlineIndex, Stream stream)

Parameters

pageIndex Int32

Position in the Pages collection where the pages from the file are inserted.

outlineIndex Int32

Position in the Outline collection where the outlines from the file are inserted.

stream Stream

Stream with the file to insert.