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

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

    Parameters

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

    Return Value

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