◆ StartCombineDocuments() [1/3]
| static Combination.StartCombineDocuments |
( |
dest_file_path |
, |
|
|
document_array |
, |
|
|
options |
, |
|
|
pause |
|
|
) |
| |
|
static |
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.
- Parameters
-
| [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 Combination.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. Default value: null. |
- Returns
- A progressive object. Please check the rate of current progress by function Progressive.GetRateOfProgress. If the rate is not 100 yet, call function Progressive.Continue to continue the progress until the progress is finished.
- Examples
- /Users/ec2-user/gitlab-runner/builds/E-xKdhDo/0/foxit/sdk/mobile/gsdk-doc-auto-build/harmony_nodejs/input/Index.js.
◆ StartCombineDocuments() [2/3]
| static Combination.StartCombineDocuments |
( |
dest_file_path |
, |
|
|
document_array |
, |
|
|
options |
, |
|
|
pause |
|
|
) |
| |
|
static |
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.
- Parameters
-
| [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 Combination.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. Default value: null. |
- Returns
- A progressive object. Please check the rate of current progress by function Progressive.GetRateOfProgress. If the rate is not 100 yet, call function Progressive.Continue to continue the progress until the progress is finished.
◆ StartCombineDocuments() [3/3]
| static Combination.StartCombineDocuments |
( |
fdest_file |
, |
|
|
document_array |
, |
|
|
options |
, |
|
|
pause |
|
|
) |
| |
|
static |
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.
- Parameters
-
| [in] | dest_file | A 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 Combination.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. Default value: null. |
- Returns
- A progressive object. Please check the rate of current progress by function Progressive.GetRateOfProgress. If the rate is not 100 yet, call function Progressive.Continue to continue the progress until the progress is finished.
◆ e_CombineDocsOptionBookmark
| Combination.e_CombineDocsOptionBookmark |
|
static |