Foxit PDF Conversion SDK
foxit.conversion.office2pdf.Office2PDFSettingData Class Reference

Inherits SystemIDisposable.

Public Member Functions

 Office2PDFSettingData ()
 Constructor.
 
 Office2PDFSettingData (string resource_folder_path, bool is_embed_font)
 Constructor, with parameters. More...
 
void Set (string resource_folder_path, bool is_embed_font)
 Set value. More...
 

Properties

bool is_embed_font [get, set]
 A boolean value which indicates whether to embed font in the converted file,. More...
 
string resource_folder_path [get, set]
 A valid path of a folder which contains resource data files. This should not be an empty string. More...
 

Detailed Description

This class represents setting data used for converting Office(Word, Excel or PowerPoint) to PDF format file.

Constructor & Destructor Documentation

◆ Office2PDFSettingData()

foxit.conversion.office2pdf.Office2PDFSettingData.Office2PDFSettingData ( string  resource_folder_path,
bool  is_embed_font 
)
inline

Constructor, with parameters.

Parameters
[in]resource_folder_pathA valid path of a folder which contains resource data files. This should not be an empty string. These resource data files are used to simulate the pdf format document typesetting process during conversion. They are offered in the "res/office2pdf" folder of the Foxit PDF Conversion SDK package.
[in]is_embed_fonttrue means to embed font in the converted file, while false means not.

Member Function Documentation

◆ Set()

void foxit.conversion.office2pdf.Office2PDFSettingData.Set ( string  resource_folder_path,
bool  is_embed_font 
)
inline

Set value.

Parameters
[in]resource_folder_pathA valid path of a folder which contains resource data files. This should not be an empty string. These resource data files are used to simulate the pdf format document typesetting process during conversion. They are offered in the "res/office2pdf" folder of the Foxit PDF Conversion SDK package.
[in]is_embed_fonttrue means to embed font in the converted file, while false means not.
Returns
None.

Property Documentation

◆ is_embed_font

bool foxit.conversion.office2pdf.Office2PDFSettingData.is_embed_font
getset

A boolean value which indicates whether to embed font in the converted file,.

true means to embed font in the converted file, while false means not.

◆ resource_folder_path

string foxit.conversion.office2pdf.Office2PDFSettingData.resource_folder_path
getset

A valid path of a folder which contains resource data files. This should not be an empty string.

These resource data files are used to simulate the pdf format document typesetting process during conversion. They are offered in the "res/office2pdf" folder of the Foxit PDF Conversion SDK package.