Gets the locale name of the text at the specified position.
'Declaration
Public Overloads Function GetLocaleName( _
ByVal As System.Integer, _
ByRef As TextRange _
) As System.String
public System.string GetLocaleName(
System.int ,
out TextRange
)
Parameters
- currentPosition
- The position of the text to inspect.
- textRange
- The range of text that has the same formatting as the text at the position specified by currentPosition. This means the run has the exact formatting as the position specified, including but not limited to the locale name.
Return Value
the locale name of the text at the specified position.