[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.TextAnalysisSource.GetLocaleName

GetLocaleName Method

GetLocaleName(int, out int)

Gets the locale name on the range affected by the text analysis.

Declaration
string GetLocaleName(int textPosition, out int textLength)
Parameters
Type Name Description
int textPosition

The text position to examine.

int textLength

Contains the length of the text being affected by the text analysis up to the next differing locale.

Returns
Type Description
string

the locale name on the range affected by the text analysis

Remarks

The localeName reference must remain valid until the next call or until the analysis returns.