ComponentOne Bitmap for WPF
GetLocaleName Method (TextAnalysisSource)

C1.WPF.DX.4 Assembly > C1.Util.DX.DirectWrite Namespace > TextAnalysisSource Interface : GetLocaleName Method
The text position to examine.
Contains the length of the text being affected by the text analysis up to the next differing locale.
Gets the locale name on the range affected by the text analysis.
Syntax
'Declaration
 
Function GetLocaleName( _
   ByVal textPosition As System.Integer, _
   ByRef textLength As System.Integer _
) As System.String
System.string GetLocaleName( 
   System.int textPosition,
   out System.int textLength
)

Parameters

textPosition
The text position to examine.
textLength
Contains the length of the text being affected by the text analysis up to the next differing locale.

Return Value

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.
See Also

Reference

TextAnalysisSource Interface
TextAnalysisSource Members