Foxit PDF SDK
foxit.pdf.CombineDocumentInfo Class Reference
Inheritance diagram for foxit.pdf.CombineDocumentInfo:
foxit.common.Base

Public Member Functions

 CombineDocumentInfo (string file_path, string password)
 Constructor, with parameters.
More...
 
 CombineDocumentInfo (PDFDoc doc)
 Constructor, with parameters.
More...
 
 CombineDocumentInfo (CombineDocumentInfo other)
 Constructor, with another information object.
More...
 
bool IsEmpty ()
 Check whether current object is empty or not.
More...
 
void SetBookmarkTitle (string bookmark_title)
 Set the title of a new parent bookmark for the root bookmark of related source PDF document in combined result file.
More...
 

Detailed Description

This class represents information of source PDF file which is to be combined with other PDF files.

Constructor & Destructor Documentation

◆ CombineDocumentInfo() [1/3]

foxit.pdf.CombineDocumentInfo.CombineDocumentInfo ( string  file_path,
string  password 
)
inline

Constructor, with parameters.

This constructor does not check the validity of input PDF file and the check will be done in function Combination.StartCombineDocuments .

Parameters
[in]file_pathFile path of a PDF file, which is to be combined with other PDF files.
[in]passwordOwner password of PDF file which is specified by parameter file_path.

◆ CombineDocumentInfo() [2/3]

foxit.pdf.CombineDocumentInfo.CombineDocumentInfo ( PDFDoc  doc)
inline

Constructor, with parameters.

This constructor does not check the validity of input PDF file and the check will be done in function Combination.StartCombineDocuments .

Parameters
[in]docA valid PDF document object which represents a PDF file to be combined with other PDF files. Please ensure input PDF document object have been loaded; otherwise unknown error may occur later when current information object is used.

◆ CombineDocumentInfo() [3/3]

foxit.pdf.CombineDocumentInfo.CombineDocumentInfo ( CombineDocumentInfo  other)
inline

Constructor, with another information object.

Parameters
[in]otherAnother information object.

Member Function Documentation

◆ IsEmpty()

bool foxit.pdf.CombineDocumentInfo.IsEmpty ( )
inline

Check whether current object is empty or not.

When the current object is empty, that means current object is useless.

Returns
true means current object is empty, while false means not.

◆ SetBookmarkTitle()

void foxit.pdf.CombineDocumentInfo.SetBookmarkTitle ( string  bookmark_title)
inline

Set the title of a new parent bookmark for the root bookmark of related source PDF document in combined result file.

This function is to set the bookmark title for a new bookmark in combined result file, if option value foxit.pdf.Combination.CombineDocsOptions.e_CombineDocsOptionBookmark is used for combination and related source PDF file has any bookmark. The new bookmark will be used as a parent bookmark and root bookmark of related source PDF doucment will be inserted to be the child node of the new parent bookmark in combined result PDF file.
If no bookmark title is set or an empty title is set, GSDK will generate a bookmark title automatically during combination process which is started by function Combination.StartCombineDocuments .

Parameters
[in]bookmark_titleTitle of a new parent bookmark which is used in combined result PDF file.
Returns
None.