Export (0) Print
Expand All

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.

  NameDescription
Public methodFamilyTypefaceInitializes a new instance of the FamilyTypeface class.
Top

  NameDescription
Public propertyAdjustedFaceNamesGets a collection of localized face names adjusted by the font differentiator.
Public propertyCapsHeightGets or sets the distance from baseline to top of an English capital, relative to em size.
Public propertyDeviceFontCharacterMetricsGets the collection of character metrics for a device font family typeface.
Public propertyDeviceFontNameGets or sets the name or unique identifier for a device font family typeface.
Public propertyStretchGets or sets the designed stretch of the font family typeface.
Public propertyStrikethroughPositionGets or sets the position of the strikethrough value relative to the baseline. The value is also relative to em size.
Public propertyStrikethroughThicknessGets or sets the thickness of the strikethrough relative to em size.
Public propertyStyleGets or sets the style of the font family typeface design.
Public propertyUnderlinePositionGets or sets the position of underline value relative to the baseline. The value is also relative to em size.
Public propertyUnderlineThicknessGets or sets the thickness of underline relative to em size.
Public propertyWeightGets or sets the designed weight of this font family typeface.
Public propertyXHeightGets or sets the Western x-height relative to em size.
Top

  NameDescription
Public methodEquals(FamilyTypeface)Compares two font family typefaces for equality.
Public methodEquals(Object)Compares two font family typefaces for equality. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes 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 methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns 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.6, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft