[]
IDWriteNumberSubstitution
[Guid("14885CC9-BAB0-4f90-B6ED-5C366A2CD03D")]
public class NumberSubstitution : ComObject, IDisposable, IUnknown
Initializes a new instance of the NumberSubstitution class.
public NumberSubstitution(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
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)
factory
FactoryA reference to a DirectWrite factory Factory
substitutionMethod
NumberSubstitutionMethodA value that specifies how to apply number substitution on digits and related punctuation.
localeName
stringThe name of the locale to be used in the numberSubstitution object.
ignoreUserOverride
boolA Boolean flag that indicates whether to ignore user overrides.
Performs an explicit conversion from System.IntPtr to NumberSubstitution.
public static explicit operator NumberSubstitution(IntPtr nativePointer)
nativePointer
System.IntPtr