FontsManager class

FontsManager class

Manages fonts across the presentation.

The FontsManager type exposes the following members:

Properties

PropertyDescription
font_subst_rule_listFont substitutions to use when rendering.
Read/write IFontSubstRuleCollection.
font_fall_back_rules_collectionRepresents a user’s collection of FontFallBack rules for managing of collections of fonts for proper substitutions by fallback functionality
Read/write IFontFallBackRulesCollection.

Methods

MethodDescription
add_embedded_fontAdds the embedded font
Keep in mind when copying any fonts that most fonts are copyrighted. First locate the license of
a font before hand and verify they can be freely transferred to another machine.An ArgumentException can be thrown if font data is None or this font is already embedded
add_embedded_fontAdds the embedded font
Keep in mind when copying any fonts that most fonts are copyrighted. First locate the license of
a font before hand and verify they can be freely transferred to another machine.An ArgumentException can be thrown if font data is None or this font is already embedded
replace_fontReplace font in presentation
replace_fontReplace font in presentation using information provided in FontSubstRule
replace_fontReplace font in presentation using information provided in collection of FontSubstRule
get_fontsReturns the fonts used in the presentation
get_substitutionsGets the information about fonts that will be replaced on the presentation’s rendering.
get_embedded_fontsReturns the fonts embedded in the presentation
remove_embedded_fontRemoves the embedded font
get_font_bytesRetrieves the byte array representing the font data for a specified font style and font data.
get_font_embedding_levelDetermines the embedding level of a font from the given byte array and font name.

See Also