Class
LayoutTokenizer

Class responsible for separating text into words.

Definition

Namespace:Telerik.Windows.Documents.Utils

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public static class LayoutTokenizer

Inheritance: objectLayoutTokenizer

Methods

GetLayoutWordsFromText(string, bool?, bool)

Gets the words from text.

Declaration

cs-api-definition
public static IEnumerable<LayoutTokenizer.LayoutWord> GetLayoutWordsFromText(string text, bool? isPreviousRtl, bool stripNumbers = true)

Parameters

text

string

The text.

isPreviousRtl

bool?

Determines whether the content is in right-to-left mode.

stripNumbers

bool

if set to true, the numbers are stripped from the text.

Returns

IEnumerable<LayoutTokenizer.LayoutWord>

Collection ofLayoutTokenizer.LayoutWord objects representing the words inside the text.