Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / TextLayout Class / MapCharRangeToCodePoints Method
Inputs the character index of the range start, outputs the code point index of the range start.
Inputs the number of characters in the range, outputs the number of code points in the range.

In This Topic
    MapCharRangeToCodePoints Method
    In This Topic
    Maps a character range to the corresponding code point range.
    Syntax
    'Declaration
     
    Public Function MapCharRangeToCodePoints( _
       ByRef index As System.Integer, _
       ByRef count As System.Integer _
    ) As System.Boolean
    public System.bool MapCharRangeToCodePoints( 
       ref System.int index,
       ref System.int count
    )

    Parameters

    index
    Inputs the character index of the range start, outputs the code point index of the range start.
    count
    Inputs the number of characters in the range, outputs the number of code points in the range.

    Return Value

    True if the resulting range contains at least one code point, false otherwise.
    See Also