Name
StringDigitSubstitute
Synopsis
This enumeration is used by the StringFormat class
when you need to render digits in a font that
doesn’t provide those digits (typically non-Western
language fonts). You can choose between official
National standards, Traditional
methods, or no substitution. There is also the option of a
User substitution scheme, but the framework does
not expose the same detailed degree of control over font substitution
as is available in the Platform SDK internationalization services
(e.g., UniScribe).
public enum StringDigitSubstitute { User = 0, None = 1, National = 2, Traditional = 3 }
Hierarchy
System.Object
→ System.ValueType → System.Enum(System.IComparabl,
System.IFormattable,
System.IConvertible)
→ StringDigitSubstitute
Returned By
StringFormat.DigitSubstitutionMethod
Passed To
StringFormat.SetDigitSubstitution()
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access