Table of Contents

Method GetWordAt

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

GetWordAt(IStringItem, int, out int, out int)

Checks word accordingly to specified conditions.

public virtual bool GetWordAt(IStringItem item, int pos, out int left, out int right)

Parameters

item IStringItem

IStringItem where word should be checked.

pos int

Position to check.

left int

Receives start character number of the word.

right int

Receives end character number of the word.

Returns

bool

True if succeed; otherwise false.