This function is similar to the MergeFiles function, however instead of working with files on disk, it merges two PDF documents stored in different TStream objects and saves the merged document into a third stream.
Outlines (bookmarks), form fields and annotations from the both documents will be present in the merged document.
function TDebenuPDFLibrary1511.MergeStreams(FirstStream, SecondStream,
OutputStream: TStream): Integer;
This function is not available in the ActiveX edition
This function is not available in the DLL edition
|FirstStream||The stream containing the first document|
|SecondStream||The stream containing the second document|
|OutputStream||The merged document is written into this stream|
|0||The documents could not be merged. Use the LastErrorCode function to determine the cause of the failure.|
|1||The merge process was successful|