Jaa


FontVariants Enum

Definition

Describes a font variant value for the Typography.Variants attached property.

public enum class FontVariants
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class FontVariants
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum FontVariants
Public Enum FontVariants
<object property="enumMemberName"/>
 
Inheritance
FontVariants
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
Normal 0

Default font behavior. Font scaling and positioning is normal.

Superscript 1

Replaces a default glyph with a superscript glyph. Superscript is commonly used for footnotes.

Subscript 2

Replaces a default glyph with a subscript glyph.

Ordinal 3

Replaces a default glyph with an ordinal glyph, or it might combine glyph substitution with positioning adjustments for proper placement. Ordinal forms are normally associated with numeric notation of an ordinal word, such as "1st" for "first".

Inferior 4

Replaces a default glyph with an inferior glyph, or it might combine glyph substitution with positioning adjustments for proper placement. Inferior forms are typically used in chemical formulas or mathematical notation.

Ruby 5

Replaces a default glyph with a smaller Japanese Kana glyph. This is used to clarify the meaning of Kanji, which might be unfamiliar to the reader.

Remarks

This enumeration is used by the Typography.Variants attached property.

Some fonts might support a subset of variant values, or ignore the setting completely.

Some fonts might also algorithmically approximate a font form instead of supporting Typography.Variants.

Applies to

See also