FontStretches Class
Provides a set of static predefined FontStretch values.
Assembly: PresentationCore (in PresentationCore.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Condensed | Specifies a condensed FontStretch. |
![]() ![]() | Expanded | Specifies an expanded FontStretch. |
![]() ![]() | ExtraCondensed | Specifies an extra-condensed FontStretch. |
![]() ![]() | ExtraExpanded | Specifies an extra-expanded FontStretch. |
![]() ![]() | Medium | Specifies a medium FontStretch. |
![]() ![]() | Normal | Specifies a normal FontStretch. |
![]() ![]() | SemiCondensed | Specifies a semi-condensed FontStretch. |
![]() ![]() | SemiExpanded | Specifies a semi-expanded FontStretch. |
![]() ![]() | UltraCondensed | Specifies an ultra-condensed FontStretch. |
![]() ![]() | UltraExpanded | Specifies an ultra-expanded FontStretch. |
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.
The FontStretches values correspond to the usWidthClass definition in the OpenType specification. The usWidthClass represents an integer value between 1 and 9. Lower numeric values indicate narrower widths; higher values indicate wider widths.
Font stretch | usWidthClass | % of normal |
|---|---|---|
1 | 50% | |
2 | 62.5% | |
3 | 75% | |
4 | 87.5% | |
5 | 100% | |
5 | 100% | |
6 | 112.5% | |
7 | 125% | |
8 | 150% | |
9 | 200% |
For more information on the OpenType usWidthClass value, see the "Font File Tables" section of the OpenType specification.
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

