New to Telerik UI for WPFStart a free 30-day trial

Represents an item in the text map used for searching within documents.

Definition

Namespace:Telerik.Windows.Documents.TextSearch

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class TextMapItem

Inheritance: objectTextMapItem

Constructors

C#
public TextMapItem(int index, SpanLayoutBox spanBox, int length)
Parameters:indexintspanBoxSpanLayoutBoxlengthint

Properties

Gets the index of the text map item within the collection.

C#
public int Index { get; set; }
Property Value:

The zero-based index of the text map item.

Gets the length of the text map item.

C#
public int Length { get; set; }
Property Value:

The length of the text map item represented as an integer.

Gets the bounding box of the text span as a rectangle in the document coordinates.

C#
public SpanLayoutBox SpanBox { get; set; }