RichTextKit v0.3

TextBlock.CodePointToCharacterIndex Method

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

Converts a code point index to a character index

public int CodePointToCharacterIndex(int codePointIndex);

Remarks

This method only works when the text buffer was built using the AddText(string) method

Parameters

int codePointIndex

The code point index to convert

Returns

int

The converted index

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

Or, find me on Twitter: @toptensoftware.