RichTextKit v0.1

TextBlock.LookupCaretIndex Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: TextBlock

Given a code point index, find the index in the CaretIndicies

public int LookupCaretIndex(int codePointIndex);

Parameters

int codePointIndex

The code point index to lookup

Returns

int

The index in the code point idnex in the CaretIndicies array