Table of Contents

Method GetPositionFromCharIndex

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

GetPositionFromCharIndex(int)

When implemented by a class, converts given character index to position as Point value.

Point GetPositionFromCharIndex(int charIndex)

Parameters

charIndex int

Specifies index of character if the text considered as a single string.

Returns

Point

Point value where Y-Coordinate represents index of line and X-Coordinate - index of character in this line.