FontVariants Enumeration
Renders variant typographic glyph forms.
Assembly: PresentationCore (in PresentationCore.dll)
| Member name | Description | |
|---|---|---|
| Inferior | Replaces a default glyph with an inferior glyph, or it may combine glyph substitution with positioning adjustments for proper placement. Inferior forms are typically used in chemical formulas or mathematical notation. | |
| Normal | Default font behavior. Font scaling and positioning is normal. | |
| Ordinal | Replaces a default glyph with an ordinal glyph, or it may 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." | |
| Ruby | Replaces a default glyph with a smaller Japanese Kana glyph. This is used to clarify the meaning of Kanji, which may be unfamiliar to the reader. | |
| Subscript | Replaces a default glyph with a subscript glyph. | |
| Superscript | Replaces a default glyph with a superscript glyph. Superscript is commonly used for footnotes. |
If a specified font does not support a particular glyph set, the default glyphs are displayed.
The Variants property allows you to set superscript and subscript values for an OpenType font.
The following text displays superscripts for the Palatino Linotype font.

Example of superscripts
The following code example shows how to define superscripts for the Palatino Linotype font, using properties of the Typography object.
The following text displays subscripts for the Palatino Linotype font.

Example of subscripts
The following code example shows how to define subscripts for the Palatino Linotype font, using properties of the Typography object.
Available since 3.0
Silverlight
Available since 5.0
Windows Phone Silverlight
Available since 8.0