Class LayoutTokenizer
Class responsible for separating text into words.
Inheritance
System.Object
LayoutTokenizer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinForms.Documents.Utils
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public static class LayoutTokenizer
Methods
GetLayoutWordsFromText(String, Nullable<Boolean>, Boolean)
Gets the words from text.
Declaration
public static IEnumerable<LayoutTokenizer.LayoutWord> GetLayoutWordsFromText(string text, bool? isPreviousRtl, bool stripNumbers = true)
Parameters
System.String
text
The text. |
System.Nullable<System.Boolean>
isPreviousRtl
Determines whether the content is in right-to-left mode. |
System.Boolean
stripNumbers
if set to |
Returns
System.Collections.Generic.IEnumerable<LayoutTokenizer.LayoutWord>
Collection ofLayoutTokenizer.LayoutWord objects representing the words inside the text. |