CanvasNumberSubstitutionMethod Enumeration |
Identifies the way to perform locale-sensitive number substitution in text.
Namespace:
Microsoft.Graphics.Canvas.Text
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public enum CanvasNumberSubstitutionMethod
Members
| Member name | Value | Description |
---|
| FromCulture | 0 |
Specifies that the substitution method should be
determined based in the system environment.
|
| Contextual | 1 | Either traditional or nominal number shape is used, depending on the nearest preceding strong character. |
| Disabled | 2 | Specifies that code points 0x30-0x39 are always rendered as nominal numeral shapes. |
| National | 3 | Specifies that numbers are rendered using the national number shape as specified by the locale. |
| Traditional | 4 | Specifies that number are rendered using the traditional shape for the specified locale. |
See Also