ComponentOne SpellChecker for WPF and Silverlight
GetRangeFromPosition Method (CharRangeList)

C1.WPF.SpellChecker Namespace > CharRangeList Class : GetRangeFromPosition Method
Position within the text.
Gets the CharRange that contains a specified position within the text.
Syntax
'Declaration
 
Public Function GetRangeFromPosition( _
   ByVal charPosition As Integer _
) As CharRange
public CharRange GetRangeFromPosition( 
   int charPosition
)

Parameters

charPosition
Position within the text.

Return Value

A CharRange that contains the specified position, or null if there is no error at the specified position.
See Also

Reference

CharRangeList Class
CharRangeList Members