Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FontFamily Members

Represents a family of related fonts.

The following tables list the members exposed by the FontFamily type.

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

  Name Description
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.
Top

(see also Protected Methods )
  Name Description
Public method Equals Overloaded. Overridden. Gets a value that indicates whether the current font family object and the specified font family object are the same.
Public method GetHashCode Overridden. Serves as a hash function for FontFamily. It is suitable for use in hashing algorithms and data structures such as a hash table.
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.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overridden. Returns the value of the Source property.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft