|
Foxit PDF SDK for HarmonyOS
3.0
|
Public Member Functions | |
| constructor () | |
| Constructor. | |
| constructor (r) | |
| IsEmpty () | |
| Check whether current object is empty or not. More... | |
| SetSubsetAllEmFonts (is_subset_all_emb_fonts) | |
| Sets whether to include subsets of all unembedded fonts. More... | |
| SetUnembeddedFontNameArray (font_name_array) | |
| Set a font name array to specify which fonts are to be unembeded. More... | |
Public Member Functions inherited from NativeObjectWrapper | |
| constructor (r) | |
| GetPointerAsNumber () | |
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.
| UnembeddedFontSettings.constructor | ( | r | ) |
@constructor
| {NativeObjectReference} | r - The native object reference to wrap |
@description Creates a new wrapper instance around a native C++ object. The wrapper manages the object's lifecycle according to the ownership rules.
| UnembeddedFontSettings.IsEmpty | ( | ) |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
| UnembeddedFontSettings.SetSubsetAllEmFonts | ( | is_subset_all_emb_fonts | ) |
Sets whether to include subsets of all unembedded fonts.
| [in] | bSubsetAllEmFonts | true means to include subsets of all unembedded fonts. false means not to include subsets of all unembedded fonts. |
| UnembeddedFontSettings.SetUnembeddedFontNameArray | ( | font_name_array | ) |
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 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.
| [in] | font_name_array | A font name array to specify which fonts are to be unembeded. |