## PrivateFontCollection class

Provides a collection of font families built from font files that are provided by the client application.

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

## Constructors

| Name | Description |
| --- | --- |
| [PrivateFontCollection](privatefontcollection/)() | The default constructor. |

## Properties

| Name | Description |
| --- | --- |
| [Families](../../system.drawing.text/fontcollection/families/) { get; } | Gets the array of FontFamily objects associated with this FontCollection. |

## Methods

| Name | Description |
| --- | --- |
| [AddFontFile](../../system.drawing.text/privatefontcollection/addfontfile/)(string) | Adds a font from the specified file to this PrivateFontCollection. |
| [AddMemoryFont](../../system.drawing.text/privatefontcollection/addmemoryfont/)(IntPtr, int) | Adds a font contained in system memory to this PrivateFontCollection. |
| [Dispose](../../system.drawing.text/fontcollection/dispose/)() | Releases all resources used by this FontCollection. |

### See Also

* class [FontCollection](../fontcollection/)
* namespace [System.Drawing.Text](../../system.drawing.text/)
* assembly [Aspose.Drawing](../../)


