Provides a collection of font families built from font files that are provided by the client application.
See Also: PrivateFontCollection Members
The System.Drawing.Text.PrivateFontCollection class allows applications to install a private version of an existing font without the requirement to replace the system version of the font. For example, ndptecgdiplus can create a private version of the Arial font in addition to the Arial font that the system uses. System.Drawing.Text.PrivateFontCollection can also be used to install fonts that do not exist in the operating system. This is a temporary font install that does not affect the system-installed collection. To see the installed collection, use the System.Drawing.Text.InstalledFontCollection class.