This documentation is archived and is not being maintained.

FontFamily Members

Represents a family of related fonts.

The FontFamily type exposes the following members.

Public method FontFamily Overloaded. Initializes a new instance of the FontFamily class.

Public method Equals Gets a value that indicates whether the current font family object and the specified font family object are the same. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for FontFamily. It is suitable for use in hashing algorithms and data structures such as a hash table. (Overrides Object.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method GetTypefaces Returns a collection of Typeface objects that represent the type faces in the default system font location.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the value of the Source property. (Overrides Object.ToString().)

Public property Baseline Gets or sets the distance between the baseline and the character cell top.
Public property BaseUri Gets the base uniform resource identifier (URI) that is used to resolve a font family name.
Public property FamilyMaps Gets the collection of FontFamilyMap objects.
Public property FamilyNames Gets a collection of strings and CultureInfo values that represent the font family names of the FontFamily object.
Public property FamilyTypefaces Gets a collection of typefaces for the FontFamily object.
Public property LineSpacing Gets or sets the line spacing value for the FontFamily object. The line spacing is the recommended baseline-to-baseline distance for the text in this font relative to the em size.
Public property Source Gets the font family name that is used to construct the FontFamily object.