Skip to main content

FontCollection

Namespace: System.Drawing.Text

Assembly: System.Drawing.Managed (4.0.0.0)

When inherited, enumerates the FontFamily objects in a collection of fonts.

public class FontCollection : IDisposable

Properties​

Instance member Families​

FontFamily[]: Gets the array of FontFamily objects associated with this FontCollection.

Methods​

Instance member Dispose()​

Protected member Dispose(disposing)​

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ParameterTypeDescription
disposingBooleanWhether we are disposing of managed resources.

Protected member Finalize()​

Finalizes an instance of the FontCollection class.

Inherited By​

NameDescription
InstalledFontCollectionRepresents the fonts installed on the system.
PrivateFontCollectionEncapsulates a collection of Font objects. Provides a collection of font families built from font files that are provided by the client application.