FontCollection Class
Provides a base class for installed and private font collections.
Assembly: System.Drawing (in System.Drawing.dll)
System.Drawing.Text::FontCollection
System.Drawing.Text::InstalledFontCollection
System.Drawing.Text::PrivateFontCollection
| Name | Description | |
|---|---|---|
![]() | Families | Gets the array of FontFamily objects associated with this FontCollection. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases all resources used by this FontCollection. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the FontCollection and optionally releases the managed resources. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Overrides Object::Finalize().) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The FontCollection allows you to get a list of the font families contained in the collection with its Families property. For additional information on fonts and text, including example code, see Using Fonts and Text.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


