PDFMergeInsertPDFStream(Int32, Stream) Method |
Inserts a PDF stream at the specified position in the merged document.
Namespace: ExpertPdf.Anywhere.MergePdfAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.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 is read when the method is called, so it can be closed as soon as the method returns.
See Also