[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TextLayout.MapCodePointsToCharRange

MapCodePointsToCharRange Method

MapCodePointsToCharRange(ref int, ref int)

Maps a code point range to the corresponding character range.

Declaration
public bool MapCodePointsToCharRange(ref int index, ref int count)
Public Function MapCodePointsToCharRange(ByRef index As Integer, ByRef count As Integer) As Boolean
Parameters
Type Name Description
int index

Inputs the code point index of the range start, outputs the character index of the range start.

int count

Inputs the number of code points in the range, outputs the number of characters in the range.

Returns
Type Description
bool

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