DocumentTextMap
Class
Represents a text map of a RadDocument.
Definition
Namespace:Telerik.WinForms.Documents.TextSearch
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class DocumentTextMap : List<TextMapItem>, IList, ICollection, IEnumerable
Inheritance: objectList<TextMapItem>DocumentTextMap
Implements:
Constructors
Initializes a new instance of the DocumentTextMap class.
C#
public DocumentTextMap(RadDocument document, Func<DocumentTextMap.TextItem, bool> filter)
The document.
filterFunc<DocumentTextMap.TextItem, bool>The filter.
Initializes a new instance of the DocumentTextMap class.
Properties
Gets the document.
C#
public RadDocument Document { get; }
The document.
Methods
Gets the list of words in the document.
C#
public IEnumerable<WordInfo> GetListOfWords()
IEnumerable<WordInfo>
List of words in the document.
Initializes the map.
C#
public void InitMap(DocumentPosition fromPosition, DocumentPosition toPosition)
Start position.
toPositionDocumentPositionEnd position.