FontsSubsystem Class

Base class implementing Aspose.Note.Fonts.IFontsSubsystem interface. Provides functionality for default font and font's substitutions. Override Aspose.Note.Fonts.FontsSubsystem.FetchFontFamily protected member function in a derived class to implement logic for retrieving of FontFamily object.
Inheritance Hierarchy

Namespace:  Aspose.Note.Fonts
Assembly:  Aspose.Note (in Aspose.Note.dll) Version: 21.11
Syntax
public abstract class FontsSubsystem : IFontsSubsystem

The FontsSubsystem type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDefaultFont
Gets or sets default font.
Methods
  NameDescription
Public methodAddFont(Stream)
Add the font.
Public methodAddFont(String)
Add the font.
Public methodAddFont(Stream, String)
Add the font.
Public methodAddFontSubstitution
Adds font substitution.
Public methodEquals (Inherited from Object.)
Protected methodFetchFontFamily
Fetches font family as a candidate for GetFontFamily.
Protected methodFinalize (Inherited from Object.)
Protected methodFindFontFamilyInInternalCollection
Tries to find font family in internal collection of GDI fonts.
Public methodGetFontFamily
Gets font family.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLoadFontsFromFolder
Loads all TrueType fonts from specified folder to internal collection.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Protected methodTranslateFontName
Tries to translate font name to its substitution via internal table.
See Also