System.Drawing.Text.InstalledFontCollection Class

Represents the fonts installed on the system. This class cannot be inherited.

See Also: InstalledFontCollection Members


public sealed class InstalledFontCollection : FontCollection


The System.Drawing.Text.InstalledFontCollection allows you to get a list of fonts families that are installed on the computer running the application with its FontCollection.Families property. For additional information on fonts and text, including example code, see Using Fonts and Text.

Do not use the System.Drawing.Text.InstalledFontCollection class to install a font to Windows. Instead use the ndptecgdi AddFontResource function. An System.Drawing.Text.InstalledFontCollection object sees only fonts that are installed in Windows before the object is created.


Namespace: System.Drawing.Text
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,