Foxit PDF SDK
 All Classes Namespaces Functions Enumerations Enumerator Properties Pages
foxit.addon.FormFileInfo Class Reference
Inheritance diagram for foxit.addon.FormFileInfo:
foxit.common.Base

Public Member Functions

 FormFileInfo (string file_path, string password)
 Constructor, with parameters. More...
 
 FormFileInfo (FileReaderCallback reader_callback, string password, string file_name)
 Constructor, with parameters. More...
 
 FormFileInfo (FormFileInfo other)
 Constructor, with another information object. More...
 
bool IsEmpty ()
 Check whether current object is empty or not. More...
 

Detailed Description

This class represents form file information. Form file can be PDF, FDF, XML or XFDF format.

Constructor & Destructor Documentation

foxit.addon.FormFileInfo.FormFileInfo ( string  file_path,
string  password 
)
inline

Constructor, with parameters.

This constructor will check the validition of input file.

Parameters
[in]file_pathFile path of a form file. This should be a PDF, FDF, XML or XFDF file.
[in]passwordThe password of input file specified by parameter file_path. This is only useful when input file is a PDF file. If input file is not a PDF file or input PDF file does not have any password, please pass an empty string.
foxit.addon.FormFileInfo.FormFileInfo ( FileReaderCallback  reader_callback,
string  password,
string  file_name 
)
inline

Constructor, with parameters.

This constructor will check the validition of input file.

Parameters
[in]reader_callbackThe reader file callback of a file, which is to be combined with other files. And it only supports PDF, FDF, XML and XFDF files.
[in]passwordThe password of input file specified by parameter reader_callback. This is only useful when input file is a PDF file. If input file is not a PDF file or input PDF file does not have any password, please pass an empty string.
[in]file_nameFile name of input file which is specified by parameter reader_callback. This name will be written into target file when current information object is used in combination. This can be an empty string.
foxit.addon.FormFileInfo.FormFileInfo ( FormFileInfo  other)
inline

Constructor, with another information object.

Parameters
[in]otherAnother information object.

Member Function Documentation

bool foxit.addon.FormFileInfo.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.