## PrivateFontCollection class

提供从客户端应用程序提供的字体文件构建的字体系列集合。

```csharp
public sealed class PrivateFontCollection : FontCollection
```

## 构造函数

| 姓名 | 描述 |
| --- | --- |
| [PrivateFontCollection](privatefontcollection)() | 初始化[`PrivateFontCollection`](../privatefontcollection)类. |

## 特性

| 姓名 | 描述 |
| --- | --- |
| [Families](../../system.drawing.text/fontcollection/families) { get; } | 获取数组FontFamily与此相关的对象FontCollection. |

## 方法

| 姓名 | 描述 |
| --- | --- |
| [AddFontFile](../../system.drawing.text/privatefontcollection/addfontfile)(string) | 将指定文件中的字体添加到此PrivateFontCollection. |
| [AddMemoryFont](../../system.drawing.text/privatefontcollection/addmemoryfont)(IntPtr, int) | 将系统内存中包含的字体添加到此PrivateFontCollection. |
| [Dispose](../../system.drawing.text/fontcollection/dispose)() | 释放此使用的所有资源FontCollection. |

### 也可以看看

* class [FontCollection](../fontcollection)
* 命名空间 [System.Drawing.Text](../../system.drawing.text)
* 部件 [Aspose.Drawing](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
