Rediger

Del via


TextRunTypographyProperties.NumeralStyle Property

Definition

Gets a value that indicates the set of glyphs that are used to render numeric alternate font forms.

public:
 abstract property System::Windows::FontNumeralStyle NumeralStyle { System::Windows::FontNumeralStyle get(); };
public abstract System.Windows.FontNumeralStyle NumeralStyle { get; }
member this.NumeralStyle : System.Windows.FontNumeralStyle
Public MustOverride ReadOnly Property NumeralStyle As FontNumeralStyle

Property Value

One of the FontNumeralStyle values. The default is Normal.

Remarks

OpenType fonts support an old-style numeral format. This format is useful for displaying numerals in styles that are no longer standard. The following text displays an 18th-century date in standard and old-style numeral formats for the Palatino Linotype font.

Text using OpenType old style numerals
Example of standard and old-style numerals

The following text displays standard numerals for the Palatino Linotype font, followed by old-style numerals.

Text using OpenType old style numeral sets
Example of standard and old-style numeral sets

Applies to

See also