Renders variant typographic glyph forms.
Public Enumeration FontVariants
public enum FontVariants
public enum class FontVariants
type FontVariants
<object property="enumerationMemberName" .../>
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.
The following code example shows how to define superscripts for the Palatino Linotype font, using properties of the Typography object.
<Paragraph FontFamily="Palatino Linotype"> 2<Run Typography.Variants="Superscript">3</Run> 14<Run Typography.Variants="Superscript">th</Run> </Paragraph>
The following text displays subscripts for the Palatino Linotype font.
The following code example shows how to define subscripts for the Palatino Linotype font, using properties of the Typography object.
<Paragraph FontFamily="Palatino Linotype"> H<Run Typography.Variants="Subscript">2</Run>O Footnote<Run Typography.Variants="Subscript">4</Run> </Paragraph>
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2