FontsManager Class

Manages fonts across the presentation.
Inheritance Hierarchy
SystemObject
  Aspose.SlidesFontsManager

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

The FontsManager 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 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 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 methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEmbeddedFonts
Returns the fonts embedded in the presentation
Public methodGetFonts
Returns the fonts used in the presentation
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveEmbeddedFont
Removes the embedded font
Public methodReplaceFont(IFontSubstRule)
Replace font in presentation using information provided in FontSubstRule
Public methodReplaceFont(IFontSubstRuleCollection)
Replace font in presentation using information provided in collection of FontSubstRule
Public methodReplaceFont(IFontData, IFontData)
Replace font in presentation
Public methodToString (Inherited from Object.)
See Also