FamilyTypeface Class
.NET Framework 4.5
Specifies the details of a single typeface supported by a FontFamily.
Namespace: System.Windows.Media
Assembly: PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
The FamilyTypeface type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AdjustedFaceNames | Gets a collection of localized face names adjusted by the font differentiator. |
![]() | CapsHeight | Gets or sets the distance from baseline to top of an English capital, relative to em size. |
![]() | DeviceFontCharacterMetrics | Gets the collection of character metrics for a device font family typeface. |
![]() | DeviceFontName | Gets or sets the name or unique identifier for a device font family typeface. |
![]() | Stretch | Gets or sets the designed stretch of the font family typeface. |
![]() | StrikethroughPosition | Gets or sets the position of the strikethrough value relative to the baseline. The value is also relative to em size. |
![]() | StrikethroughThickness | Gets or sets the thickness of the strikethrough relative to em size. |
![]() | Style | Gets or sets the style of the font family typeface design. |
![]() | UnderlinePosition | Gets or sets the position of underline value relative to the baseline. The value is also relative to em size. |
![]() | UnderlineThickness | Gets or sets the thickness of underline relative to em size. |
![]() | Weight | Gets or sets the designed weight of this font family typeface. |
![]() | XHeight | Gets or sets the Western x-height relative to em size. |
| Name | Description | |
|---|---|---|
![]() | Equals(FamilyTypeface) | Compares two font family typefaces for equality. |
![]() | Equals(Object) | Compares two font family typefaces for equality. (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. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a FamilyTypeface object. The GetHashCode method is suitable for use in hashing algorithms and data structures like a hash table. (Overrides Object.GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
