ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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.

In This Topic
    GetLocaleName Method (TextAnalysisSource)
    In This Topic
    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