FontNumeralStyle 열거형
어셈블리: PresentationCore(presentationcore.dll)
XML 네임스페이스: http://schemas.microsoft.com/winfx/2006/xaml/presentation
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.
Example of standard and old style numerals
The following text displays standard numerals for the Palatino Linotype font, followed by old style numerals.
Example of standard and old style numeral sets
참고: |
|---|
| 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 old style numerals for the Palatino Linotype font, using properties of the Typography object.
<Paragraph FontFamily="Palatino Linotype"> <Run Typography.NumeralStyle="Normal">1234567890</Run> <Run Typography.NumeralStyle="OldStyle">1234567890</Run> </Paragraph>
참고: