[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DirectWrite.NumberSubstitution

Class NumberSubstitution

Namespace
GrapeCity.Documents.DX.DirectWrite
Assembly
GcDocs.DX.Windows.dll

IDWriteNumberSubstitution

[Guid("14885CC9-BAB0-4f90-B6ED-5C366A2CD03D")]
public class NumberSubstitution : ComObject, IDisposable, IUnknown
Inheritance
object
NumberSubstitution
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

NumberSubstitution(IntPtr)

Initializes a new instance of the NumberSubstitution class.

public NumberSubstitution(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

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

public static NumberSubstitution Create(Factory factory, NumberSubstitutionMethod substitutionMethod, string localeName, bool ignoreUserOverride)

Parameters

factory Factory

A reference to a DirectWrite factory Factory

substitutionMethod NumberSubstitutionMethod

A value that specifies how to apply number substitution on digits and related punctuation.

localeName string

The name of the locale to be used in the numberSubstitution object.

ignoreUserOverride bool

A Boolean flag that indicates whether to ignore user overrides.

Returns

NumberSubstitution

Operators

explicit operator NumberSubstitution(IntPtr)

Performs an explicit conversion from System.IntPtr to NumberSubstitution.

public static explicit operator NumberSubstitution(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

NumberSubstitution