Describes the degree to which a font has been stretched, compared to the normal aspect ratio of that font.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
Thetype exposes the following members.
|Equals||Compares an object with the current object. (Overrides ValueType.Equals(Object).)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Retrieves the hash code for this object. (Overrides ValueType.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||Creates a String representation of the current object. (Overrides ValueType.ToString().)|
A font stretch describes the degree to which a font form is stretched from its normal aspect ratio, which is the original width to height ratio specified for the glyphs in the font.
You must use static properties of FontStretches to specify a value. In XAML, you specify the name of a FontStretches property as the attribute value. This functionality is enabled by native XAML parsing behavior that processes the string value.
FontStretches Static Property Names
% of normal
The FontStretches values correspond to the usWidthClass definition in the OpenType specification. The usWidthClass represents an integer value between 1 and 9—lower values indicate narrower widths; higher values indicate wider widths.