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

NameDescription
PrivateFontCollection()The default constructor.

Properties

NameDescription
Families { get; }Gets the array of FontFamily objects associated with this FontCollection.

Methods

NameDescription
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