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

Public Member Functions

 UnembeddedFontSettings ()
 Constructor.
 
 UnembeddedFontSettings (UnembeddedFontSettings other)
 Constructor, with another unembedded font settings object. More...
 
bool IsEmpty ()
 Check whether current object is empty or not. More...
 
void SetUnembeddedFontNameArray (WStringArray font_name_array)
 Set a font name array to specify which fonts are to be unembeded. More...
 

Detailed Description

This class represents the settings for unembedded fonts. This class object can be set to class OptimizerSettings and then be used to optimize a PDF document.

See Also
OptimizerSettings

Constructor & Destructor Documentation

foxit.addon.optimization.UnembeddedFontSettings.UnembeddedFontSettings ( UnembeddedFontSettings  other)
inline

Constructor, with another unembedded font settings object.

Parameters
[in]otherAnother ImageSettings object.

Member Function Documentation

bool foxit.addon.optimization.UnembeddedFontSettings.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.
void foxit.addon.optimization.UnembeddedFontSettings.SetUnembeddedFontNameArray ( WStringArray  font_name_array)
inline

Set a font name array to specify which fonts are to be unembeded.

This function can be used to specify which fonts are to be unembedded. User can use function pdf.PDFDoc.GetEmbeddedFontData to get the embedded font name arrays of a PDF document, then decide which embeded fonts are to be unembeded, and pass the unembeded font name array to current function.

Parameters
[in]font_name_arrayA font name array to specify which fonts are to be unembeded.
Returns
the unembedded font data object.