LayoutTokenizer
Class
Class responsible for separating text into words.
Definition
Namespace:Telerik.Windows.Documents.Utils
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
C#
public static class LayoutTokenizer
Inheritance: objectLayoutTokenizer
Methods
Gets the words from text.
C#
public static IEnumerable<LayoutTokenizer.LayoutWord> GetLayoutWordsFromText(string text, bool? isPreviousRtl, bool stripNumbers = true)
The text.
isPreviousRtlbool?Determines whether the content is in right-to-left mode.
stripNumbersboolif set to true, the numbers are stripped from the text.
IEnumerable<LayoutTokenizer.LayoutWord>
Collection ofLayoutTokenizer.LayoutWord objects representing the words inside the text.