类 FontsSubsystem

FontsSubsystem class

实现 Aspose.Note.Fonts.IFontsSubsystem 接口的基类。提供默认字体及字体替换的功能。在派生类中重写 Aspose.Note.Fonts.FontsSubsystem.FetchFontFamily 受保护成员函数,以实现检索 FontFamily 对象的逻辑。

public abstract class FontsSubsystem : IFontsSubsystem

属性

名称描述
DefaultFont { get; }获取或设置默认字体。

方法

名称描述
AddFont(Stream)添加字体。
AddFont(string)添加字体。
AddFont(Stream, string)添加字体。
AddFontSubstitution(string, string)添加字体替换。
virtual GetFontFamily(string)获取字体系列。
LoadFontsFromFolder(string)从指定文件夹加载所有 TrueType 字体到内部集合。

另请参阅