Click or drag to resize

PDFMergeInsertPDFStream(Int32, Stream) Method

Inserts a PDF stream at the specified position in the merged document.

Namespace: ExpertPdf.MergePdf
Assembly: epmergepdf (in epmergepdf.dll) Version: 10.0
Syntax
public void InsertPDFStream(
	int insertIndex,
	Stream pdfStream
)

Parameters

insertIndex  Int32
The zero based position of the first inserted page in the merged document: 0 inserts before the first page, GetCurrentPageCount inserts at the end.
pdfStream  Stream
The PDF stream to be inserted. It must stay open until the merged document is saved.
Remarks
The stream is read when the merged document is saved: keep it open until then.
See Also