Defines a group of type faces having a similar basic design and certain variations in styles. This class cannot be inherited.
Assembly: System.Drawing (in System.Drawing.dll)
Thetype exposes the following members.
|CreateObjRef||Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)|
|Dispose||Releases all resources used by this .|
|Equals||Indicates whether the specified object is a and is identical to this . (Overrides Object.Equals(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.)|
|GetCellAscent||Returns the cell ascent, in design units, of the of the specified style.|
|GetCellDescent||Returns the cell descent, in design units, of the of the specified style.|
|GetEmHeight||Gets the height, in font design units, of the em square for the specified style.|
|GetFamilies||Obsolete. Returns an array that contains all the objects available for the specified graphics context.|
|GetHashCode||Gets a hash code for this . (Overrides Object.GetHashCode.)|
|GetLifetimeService||Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|GetLineSpacing||Returns the line spacing, in design units, of the of the specified style. The line spacing is the vertical distance between the base lines of two consecutive lines of text.|
|GetName||Returns the name, in the specified language, of this .|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|InitializeLifetimeService||Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|IsStyleAvailable||Indicates whether the specified FontStyle enumeration is available.|
|ToString||Converts this to a human-readable string representation. (Overrides Object.ToString.)|
The following code example shows all the font families in the Families property of the class. This example is designed to be used with a Windows Form. To run this example, add a ListBox named listBox1 to a form and call the PopulateListBoxWithFonts method from the form's constructor.