PDFMergeInsertPDFStream(Int32, Stream) Method |
Inserts a PDF stream at the specified position in the merged document.
Namespace: ExpertPdf.MergePdfAssembly: epmergepdf (in epmergepdf.dll) Version: 10.0
Syntaxpublic void InsertPDFStream(
int insertIndex,
Stream pdfStream
)
Public Sub InsertPDFStream (
insertIndex As Integer,
pdfStream As Stream
)
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.
RemarksThe stream is read when the merged document is saved: keep it open until then.
See Also