IFontsManager Interface

Manages fonts across the presentation.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.1.0.0 (21.1)
Syntax
public interface IFontsManager

The IFontsManager type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleFontFallBackRulesCollection
Represents a user's collection of FontFallBack rules for managing of collections of fonts for proper substitutions by fallback functionality Read/write IFontFallBackRulesCollection.
Public propertyFontSubstRuleList
Font substitutions to use when rendering Read/write IFontSubstRuleCollection.
Methods
  NameDescription
Public methodAddEmbeddedFont(Byte, EmbedFontCharacters)
Adds the embedded font
Remarks
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
Public methodAddEmbeddedFont(IFontData, EmbedFontCharacters)
Adds the embedded font.
Remarks
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
Public methodGetEmbeddedFonts
Returns the fonts embedded in the presentation
Public methodGetFonts
Returns the fonts used in the presentation
Public methodRemoveEmbeddedFont
Removes the embedded font
Public methodReplaceFont(IFontSubstRule)
Replace font in presentation using information provided in IFontSubstRule
Public methodReplaceFont(IFontSubstRuleCollection)
Replace font in presentation using information provided in collection of IFontSubstRule
Public methodReplaceFont(IFontData, IFontData)
Replace font in presentation
See Also