Table of Contents

Method GetTextAt

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

GetTextAt(int, int)

Returns word at the specific text position.

public virtual string GetTextAt(int pos, int line)

Parameters

pos int

Specifies index of character in the text string.

line int

Specifies index of visible string.

Returns

string

Remarks

If there is no word under specified position, method returns empty string.

GetTextAt(Point)

Returns word at the specific text position.

public virtual string GetTextAt(Point position)

Parameters

position Point

The Point value that specifies position in the text.

Returns

string

Remarks

If there is no word under specified position, method returns empty string.