FontFraction Enumeration
.NET Framework (current version)
Describes the fraction style for a Typography object.
Assembly: PresentationCore (in PresentationCore.dll)
| Member name | Description | |
|---|---|---|
| Normal | Default style is used. | |
| Slashed | Slashed fraction style is used. | |
| Stacked | Stacked fraction style is used. |
OpenType fonts support styles for fractions, including slashed and stacked. The following text displays fraction styles for the Palatino Linotype font.

Example of slashed and stacked fraction styles
Note |
|---|
Most OpenType fonts expose only a subset of the total OpenType features available. If a specified font does not support a particular feature, the default glyphs are used instead. |
The following code example shows how to define fraction styles for the Palatino Linotype font, using properties of the Typography object.
.NET Framework
Available since 3.0
Silverlight
Available since 5.0
Windows Phone Silverlight
Available since 8.0
Available since 3.0
Silverlight
Available since 5.0
Windows Phone Silverlight
Available since 8.0
Show:
