This documentation is archived and is not being maintained.

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.


[Visual Basic]
MustInherit Public Class FontCollection
   Implements IDisposable
public abstract class FontCollection : IDisposable
public __gc __abstract class FontCollection : public IDisposable
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.


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

FontCollection Members | System.Drawing.Text Namespace