FontsManager Class

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

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.7.0.0 (21.7)
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEmbeddedFonts
Returns the fonts embedded in the presentation
Public methodGetFonts
Returns the fonts used in the presentation
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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
Returns a string that represents the current object.
(Inherited from Object.)
See Also