InstalledFontCollection Class
Represents the fonts installed on the system. This class cannot be inherited. For additional information on fonts and text, including example code, see Fonts and Text in the Using GDI+ Managed Classes section of these documents.
For a list of all members of this type, see InstalledFontCollection Members.
System.Object
System.Drawing.Text.FontCollection
System.Drawing.Text.InstalledFontCollection
[Visual Basic] NotInheritable Public Class InstalledFontCollection Inherits FontCollection [C#] public sealed class InstalledFontCollection : FontCollection [C++] public __gc __sealed class InstalledFontCollection : public FontCollection [JScript] public class InstalledFontCollection extends FontCollection
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
GDI+ applications should not use the InstalledFontCollection class to install a font to Windows. Instead use the GDI AddFontResource function. An InstalledFontCollection object sees only fonts that are installed in Windows before the object is created.
Requirements
Namespace: System.Drawing.Text
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Drawing (in System.Drawing.dll)
See Also
InstalledFontCollection Members | System.Drawing.Text Namespace