SetFontSources
FontSettings.SetFontSources method
设置源以在呈现文档时查找 TrueType 字体。
public static void SetFontSources(params IFontSource[] fontSources)
| 范围 | 类型 | 描述 |
|---|---|---|
| fontSources | IFontSource[] | 字体来源。 |
例外
| 例外 | (健康)状况 |
|---|---|
| ArgumentNullException | 抛出时fontSources一片空白。 |
也可以看看
- interface IFontSource
- class FontSettings
- 命名空间 GroupDocs.Viewer.Fonts
- 部件 GroupDocs.Viewer