FontStretch Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the degree to which a font has been stretched, compared to the normal aspect ratio of that font.
public enum class FontStretch
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class FontStretch
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum FontStretch
var value = Windows.UI.Text.FontStretch.undefined
Public Enum FontStretch
<object property="fontStretchMemberName"/>
- Inheritance
-
FontStretch
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
Undefined | 0 | No defined font stretch. |
UltraCondensed | 1 | An ultra-condensed font stretch (50% of normal). |
ExtraCondensed | 2 | An extra-condensed font stretch (62.5% of normal). |
Condensed | 3 | A condensed font stretch (75% of normal). |
SemiCondensed | 4 | A semi-condensed font stretch (87.5% of normal). |
Normal | 5 | The normal font stretch that all other font stretch values relate to (100%). |
SemiExpanded | 6 | A semi-expanded font stretch (112.5% of normal). |
Expanded | 7 | An expanded font stretch (125% of normal). |
ExtraExpanded | 8 | An extra-expanded font stretch (150% of normal). |
UltraExpanded | 9 | An ultra-expanded font stretch (200% of normal). |