RichTextKit v0.4

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

Subscribe for more like this. No spam, just fun tech stuff :)

Or, find me on Twitter: @toptensoftware.