Gets the currently effective typography variations for the text contents of the text box.
Assembly: PresentationFramework (in PresentationFramework.dll)
<Paragraph TextAlignment="Left" FontSize="18" FontFamily="Palatino Linotype" Typography.NumeralStyle="OldStyle" Typography.Fraction="Stacked" Typography.Variants="Inferior" > <Run> This text has some altered typography characteristics. Note that use of an open type font is necessary for most typographic properties to be effective. </Run> <LineBreak/><LineBreak/> <Run> 0123456789 10 11 12 13 </Run> <LineBreak/><LineBreak/> <Run> 1/2 2/3 3/4 </Run> </Paragraph>
The following figure shows how this example renders.
In contrast, the following figure shows how a similar example with default typographic properties renders.
The following example shows how to set the property programmatically.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.