FontFamily Class
Defines a group of type faces having a similar basic design and certain variations in styles. This class cannot be inherited.
Definition
| public sealed class FontFamily: Object |
Members Table
The following table lists the members exposed by the FontFamily object. Click a tab on the left to choose the type of member you want to view.
Methods
| Method | Description |
|---|
| Equals | Overloaded. Compares two objects to determine if they are equals. |
| FontFamily | Initializes a new instance of FontFamily. |
| GetCellAscent | Returns the cell ascent, in design units, of the FontFamily object of the specified style. |
| GetCellDescent | Returns the cell descent, in design units, of the FontFamily object of the specified style. |
| GetEmHeight | Gets the height, in font design units, of the em square for the specified style. |
| GetHashCode | Overriden. Gets a hash code for this FontFamily object. |
| GetLineSpacing | Returns the line spacing, in design units, of the FontFamily object of the specified style. The line spacing is the vertical distance between the base lines of two consecutive lines of text. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IsAvailable | Indicates whether a specified FontFamily is available. |
| IsAvailableAsEmbedded | Indicates whether a specified FontFamily is available as an embedded resource. |
| IsAvailableAsInstalled | Indicates whether a specified FontFamily is available as an installed resource. |
| IsStyleAvailable | Indicates whether a specified System.Drawing.FontStyle enumeration is available. |
| IsStyleAvailableAsEmbedded | Indictates whether a specified System.Drawing.FontStyle enumeration is available as an embedded resource. |
| IsStyleAvailableAsInstalled | Indicates whether a specified FontFamily enumeration is available as an installed resource. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object) |
| ToString | Overriden. Returns a String that represents the current FontFamily. |
Properties
| Property | Description |
|---|
| Families | Returns an array that contains all the FontFamily objects associated with the current graphics context. |
| GenericMonospace | Gets a generic monospace FontFamily object. |
| GenericSansSerif | Gets a generic sans serif FontFamily object. |
| GenericSerif | Gets a generic serif FontFamily object. |
| IsEmbedded | Gets a value indicating whether the FontFamily is embedded. |
| IsInstalled | Gets a value indicating whether the FontFamily is installed. |
| Name | Gets the name of this FontFamily object. |
Inheritance Hierarchy
ObjectFontFamily
Class Information
| Namespace | System.Drawing |
|---|
| Flash Library | System.Drawing.scl |
|---|
| Flash Library Version | 2.0.0.1291 |
|---|
| Silverlight Library | System.Windows.Forms.dll |
|---|