Foxit PDF SDK
|
Public Types | |
enum | CombineDocsOptions { CombineDocsOptions.e_CombineDocsOptionBookmark = 0x0001, CombineDocsOptions.e_CombineDocsOptionAcroformRename = 0x0002, CombineDocsOptions.e_CombineDocsOptionStructrueTree = 0x0004, CombineDocsOptions.e_CombineDocsOptionOutputIntents = 0x0008, CombineDocsOptions.e_CombineDocsOptionOCProperties = 0x0010, CombineDocsOptions.e_CombineDocsOptionMarkInfos = 0x0020, CombineDocsOptions.e_CombineDocsOptionPageLabels = 0x0040, CombineDocsOptions.e_CombineDocsOptionNames = 0x0080, CombineDocsOptions.e_CombineDocsOptionObjectStream = 0x0100, CombineDocsOptions.e_CombineDocsOptionDuplicateStream = 0x0200 } |
Enumeration for options used for combining PDF files. More... | |
Static Public Member Functions | |
static Progressive | StartCombineDocuments (string dest_file_path, CombineDocumentInfoArray document_array, int options, PauseCallback pause) |
Start to combine PDF files. More... | |
static Progressive | StartCombineDocuments (FileWriterCallback dest_file, CombineDocumentInfoArray document_array, int options, PauseCallback pause) |
Start to combine PDF files. More... | |
This class can be used to combine several PDF files into one PDF file.
|
strong |
Enumeration for options used for combining PDF files.
Values of this enumeration can be used alone or in combination.
|
inlinestatic |
Start to combine PDF files.
It may take a long time to combining documents, so Foxit PDF SDK uses a progressive process to do this. This function does not support to combine XFA document.
[in] | dest_file_path | A full path to save the combined result PDF file. This should not be an empty string. |
[in] | document_array | An information array which represents information of source PDF files which are to be combined. |
[in] | options | Options for combining PDF documents. Please refer to values starting from foxit.pdf.Combination.CombineDocsOptions.e_CombineDocsOptionBookmark and this can be one or a combination of these values. 0 means no option is used. |
[in] | pause | Pause object which decides if the combining process needs to be paused. This can be null which means not to pause during the parsing process. If this is not null, it should be a valid pause object implemented by user. |
|
inlinestatic |
Start to combine PDF files.
It may take a long time to combining documents, so Foxit PDF SDK uses a progressive process to do this. This function does not support to combine XFA document.
[in] | dest_file | A foxit.common.fxcrt.FileWriterCallback object which is implemented by user to store the data of combined result PDF file in custom method. |
[in] | document_array | An information array which represents information of source PDF files which are to be combined. |
[in] | options | Options for combining PDF documents. Please refer to values starting from foxit.pdf.Combination.CombineDocsOptions.e_CombineDocsOptionBookmark and this can be one or a combination of these values. 0 means no option is used. |
[in] | pause | Pause object which decides if the combining process needs to be paused. This can be null which means not to pause during the parsing process. If this is not null, it should be a valid pause object implemented by user. |