MergeDocument
Document manipulation
Description
Use this function to join another document to the selected document. After merging, the second document is deleted.
Form fields and annotations from the second document are preserved but outlines (bookmarks) are not.
Syntax
Delphi
function TPDFlib.MergeDocument(DocumentID: Integer): Integer;ActiveX
Function PDFlib::MergeDocument(DocumentID As Long) As LongDLL
int DLMergeDocument(int InstanceID, int DocumentID);Parameters
| DocumentID | The ID of the document to join to the selected document |
|---|
Return values
| 0 | The documents could not be merged together |
|---|---|
| 1 | The merging was successful |