PDFMergeAppendPDFStream(Stream, String, Int32, Int32) Method
Appends at most length pages from the specified password protected source document starting from zero based index
startIndex in the source document.
Namespace: Winnovative.PDFMergeAssembly: WnvPdfMerge_NetCore (in WnvPdfMerge_NetCore.dll) Version: 14.0.0
public void AppendPDFStream(
Stream pdfStream,
string password,
int startIndex,
int length
)
Parameters
- pdfStream Stream
- The PDF stream to be appended
- password String
- The password to open the appended document. If this argument is null no password will be used.
- startIndex Int32
- The zero based index of the page from the source document from where to start appending pages
- length Int32
- The number of pages to be taken from the source document and appended to the merged document. If the specified length is
bigger than the available number of pages starting from the specified start page index, only the available number of pages will be appended.
If the length is negative e.g -1, all the PDF pages available from startIndex will be appended to the merged document.