이 설명서는 보관되지만 유지 되지 않습니다.

FontNumeralStyle 열거형

Describes the numeral style for a Typography object.

네임스페이스: System.Windows
어셈블리: PresentationCore(presentationcore.dll)
XML 네임스페이스:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public enum FontNumeralStyle
public enum FontNumeralStyle
public enum FontNumeralStyle
<object property="EnumerationValue" .../>

 멤버 이름설명
LiningLining numeral style is used. Replaces default glyphs with numeric forms of even height. 
NormalDefault numeral style is used. 
OldStyleOld style numeral style is used. Replaces default glyphs with a figure style that matches lowercase letters in height and color. 

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


Text using OpenType 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


Text using OpenType 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>

Microsoft .NET Framework 3.0은 Windows Vista, Microsoft Windows XP SP2 및 Windows Server 2003 SP1에서 지원됩니다.

.NET Framework

3.0에서 지원
표시: