FontCollection Class
Base class for installed and private font collections. Provides a method to get a list of the font families contained in the collection. 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 FontCollection Members.
System.Object
System.Drawing.Text.FontCollection
System.Drawing.Text.InstalledFontCollection
System.Drawing.Text.PrivateFontCollection
[Visual Basic] MustInherit Public Class FontCollection Implements IDisposable [C#] public abstract class FontCollection : IDisposable [C++] public __gc __abstract class FontCollection : public IDisposable [JScript] public abstract class FontCollection implements IDisposable
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.
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)