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 an index of the line.

line int

Specifies an index of character in the text string.

Returns

string

Word found at the specified position.

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

Word found at the specified position.