[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.NumberSubstitution.Create

Create Method

Create(Factory, NumberSubstitutionMethod, string, bool)

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).

Declaration
public static NumberSubstitution Create(Factory factory, NumberSubstitutionMethod substitutionMethod, string localeName, bool ignoreUserOverride)
Parameters
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.

Returns
Type Description
NumberSubstitution