[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TextLayout.MapCharRangeToCodePoints

MapCharRangeToCodePoints Method

MapCharRangeToCodePoints(ref int, ref int)

Maps a character range to the corresponding code point range.

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

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

int count

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

Returns
Type Description
bool

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