[]
Creates a number substitution object using a locale name, substitution method, and an indicator whether to ignore user overrides (use NLS defaults for the given culture instead).
public static NumberSubstitution Create(Factory factory, NumberSubstitutionMethod substitutionMethod, string localeName, bool ignoreUserOverride)
Type | Name | Description |
---|---|---|
Factory | factory | A reference to a DirectWrite factory Factory |
NumberSubstitutionMethod | substitutionMethod | A value that specifies how to apply number substitution on digits and related punctuation. |
string | localeName | The name of the locale to be used in the numberSubstitution object. |
bool | ignoreUserOverride | A Boolean flag that indicates whether to ignore user overrides. |
Type | Description |
---|---|
NumberSubstitution |