In This Topic
GdPicture14 Namespace / GdPicturePDF Class / Merge2Documents Method

Merge2Documents Method (GdPicturePDF)

In This Topic
These methods allow you to merge two PDF documents according to the way they are currently stored. Both documents are merged using the Merge2Documents(GdPicturePDF,GdPicturePDF) method and all mentioned details remain in effect.
Overload List
OverloadDescription
Merges two PDF documents according to their file paths. The resulting PDF document is saved to a file path you have specified. If the specified file already exists, it will be overwritten. Please see also the Merge2Documents(GdPicturePDF,GdPicturePDF) method for more details.

Just to inform you, that the toolkit offers the adaptive file caching mechanism to significantly reduce memory usage while merging large documents. The feature is available in both 32-bit and 64-bit mode by default.

 
Merges two PDF documents stored in the previously instantiated Stream objects according to what you have specified. The only supported file format for these input streams is the PDF format. The resulting PDF document is also saved to a Stream object you have specified.

Please see also the Merge2Documents(GdPicturePDF,GdPicturePDF) method for more details.

Just to inform you, that the toolkit offers the adaptive file caching mechanism to significantly reduce memory usage while merging large documents. The feature is available in both 32-bit and 64-bit mode by default.

 
Merges two PDF documents loaded within the two GdPicturePDF objects. The resulting PDF document is created and stored within the new GdPicturePDF object as well.

If both source documents are PDF/A compliant, the resulting document will also be PDF/A compliant. The conformance level and version of the merged document will be PDF/A-1b regardless of the original conformance of both source documents.

Just to inform you, that the toolkit offers the adaptive file caching mechanism to significantly reduce memory usage while merging large documents. The feature is available in both 32-bit and 64-bit mode by default.

 
See Also