IFontsManager

IFontsManager interface

Manages fonts across the presentation.

public interface IFontsManager

Properties

NameDescription
FontFallBackRulesCollection { get; set; }Represents a user’s collection of FontFallBack rules for managing of collections of fonts for proper substitutions by fallback functionality Read/write IFontFallBackRulesCollection.
FontSubstRuleList { get; set; }Font substitutions to use when rendering Read/write IFontSubstRuleCollection.

Methods

NameDescription
AddEmbeddedFont(byte[], EmbedFontCharacters)Adds the embedded font Keep in mind when adding 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 null or this font is already embedded
AddEmbeddedFont(IFontData, EmbedFontCharacters)Adds 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 null or this font is already embedded
GetEmbeddedFonts()Returns the fonts embedded in the presentation
GetFontBytes(IFontData, FontStyle)Retrieves the byte array representing the font data for a specified font style and font data.
GetFontEmbeddingLevel(byte[], string)Determines the embedding level of a font from the given byte array and font name.
GetFonts()Returns the fonts used in the presentation
GetSubstitutions()Gets the information about fonts that will be replaced on the presentation’s rendering.
RemoveEmbeddedFont(IFontData)Removes the embedded font
ReplaceFont(IFontSubstRule)Replace font in presentation using information provided in IFontSubstRule
ReplaceFont(IFontSubstRuleCollection)Replace font in presentation using information provided in collection of IFontSubstRule
ReplaceFont(IFontData, IFontData)Replace font in presentation

See Also