This topic has not yet been rated - Rate this topic

FamilyTypeface Class

Specifies the details of a single typeface supported by a FontFamily.

System.Object
  System.Windows.Media.FamilyTypeface

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
public class FamilyTypeface
<FamilyTypeface .../>

The FamilyTypeface type exposes the following members.

  Name Description
Public method FamilyTypeface Initializes a new instance of the FamilyTypeface class.
Top
  Name Description
Public property AdjustedFaceNames Gets a collection of localized face names adjusted by the font differentiator.
Public property CapsHeight Gets or sets the distance from baseline to top of an English capital, relative to em size.
Public property DeviceFontCharacterMetrics Gets the collection of character metrics for a device font family typeface.
Public property DeviceFontName Gets or sets the name or unique identifier for a device font family typeface.
Public property Stretch Gets or sets the designed stretch of the font family typeface.
Public property StrikethroughPosition Gets or sets the position of the strikethrough value relative to the baseline. The value is also relative to em size.
Public property StrikethroughThickness Gets or sets the thickness of the strikethrough relative to em size.
Public property Style Gets or sets the style of the font family typeface design.
Public property UnderlinePosition Gets or sets the position of underline value relative to the baseline. The value is also relative to em size.
Public property UnderlineThickness Gets or sets the thickness of underline relative to em size.
Public property Weight Gets or sets the designed weight of this font family typeface.
Public property XHeight Gets or sets the Western x-height relative to em size.
Top
  Name Description
Public method Equals(FamilyTypeface) Compares two font family typefaces for equality.
Public method Equals(Object) Compares two font family typefaces for equality. (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 a FamilyTypeface object. The GetHashCode method is suitable for use in hashing algorithms and data structures like a hash table. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

There are as many FamilyTypeface objects as there are typefaces supported by the system.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ