PrivateFontCollection
PrivateFontCollection class
提供从客户端应用程序提供的字体文件构建的字体系列集合。
public sealed class PrivateFontCollection : FontCollection
构造函数
| 姓名 | 描述 |
|---|---|
| PrivateFontCollection() | 初始化PrivateFontCollection类. |
特性
| 姓名 | 描述 |
|---|---|
| Families { get; } | 获取数组FontFamily与此相关的对象FontCollection. |
方法
| 姓名 | 描述 |
|---|---|
| AddFontFile(string) | 将指定文件中的字体添加到此PrivateFontCollection. |
| AddMemoryFont(IntPtr, int) | 将系统内存中包含的字体添加到此PrivateFontCollection. |
| Dispose() | 释放此使用的所有资源FontCollection. |
也可以看看
- class FontCollection
- 命名空间 System.Drawing.Text
- 部件 Aspose.Drawing