Class PrivateFontCollection
PrivateFontCollection class
Provides a collection of font families built from font files that are provided by the client application.
public sealed class PrivateFontCollection : FontCollection
Constructors
| Name | Description |
|---|---|
| PrivateFontCollection() | The default constructor. |
Properties
| Name | Description |
|---|---|
| Families { get; } | Gets the array of FontFamily objects associated with this FontCollection. |
Methods
| Name | Description |
|---|---|
| AddFontFile(string) | Adds a font from the specified file to this PrivateFontCollection. |
| AddMemoryFont(IntPtr, int) | Adds a font contained in system memory to this PrivateFontCollection. |
| Dispose() | Releases all resources used by this FontCollection. |
See Also
- class FontCollection
- namespace System.Drawing.Text
- assembly Aspose.Drawing