Class
TextMapItem

Represents an item in a text map for proofing purposes.

Definition

Namespace:Telerik.Windows.Documents.Proofing

Assembly:Telerik.Windows.Documents.Proofing.dll

Syntax:

cs-api-definition
public class TextMapItem

Inheritance: objectTextMapItem

Constructors

TextMapItem(int, Run, int, bool, bool, bool, bool)

Initializes a new instance of the TextMapItem class with the specified parameters.

Declaration

cs-api-definition
public TextMapItem(int indexInRun, Run run, int length, bool containsDigits, bool isUppercase, bool containsOnlySeparators, bool containsLetters)

Parameters

indexInRun

int

The zero-based index within the Run where this text map item starts.

run

Run

The Run object that contains the text segment.

length

int

The length of the text map item within the run.

containsDigits

bool

A value indicating whether the text map item contains any digits.

isUppercase

bool

A value indicating whether the text map item is in uppercase.

containsOnlySeparators

bool

A value indicating whether the text map item contains only separator characters.

containsLetters

bool

A value indicating whether the item contains letters

Properties

ContainsDigits

Determines whether the specified text map item contains any digits.

Declaration

cs-api-definition
public bool ContainsDigits { get; set; }

Property Value

bool

ContainsLetters

Determines whether the TextMapItem contains any alphabetic letters.

Declaration

cs-api-definition
public bool ContainsLetters { get; set; }

Property Value

bool

ContainsOnlySeparators

Determines whether the current TextMapItem contains only separator characters.

Declaration

cs-api-definition
public bool ContainsOnlySeparators { get; set; }

Property Value

bool

IndexInRun

Gets the index of the text map item within its run.

Declaration

cs-api-definition
public int IndexInRun { get; set; }

Property Value

int

IsLastInWord

Gets a value indicating whether the current text map item is the last item in a word.

Declaration

cs-api-definition
public bool IsLastInWord { get; set; }

Property Value

bool

IsUppercase

Gets a value indicating whether the text represented by the TextMapItem is in uppercase.

Declaration

cs-api-definition
public bool IsUppercase { get; set; }

Property Value

bool

Length

Gets the length of the text map item.

Declaration

cs-api-definition
public int Length { get; set; }

Property Value

int

Run

Represents a run of text within a text map item. This class encapsulates the formatting and content of a segment of text, allowing for rich text manipulation and display.

Declaration

cs-api-definition
public Run Run { get; set; }

Property Value

Run

Text

Gets or sets the text content of the TextMapItem.

Declaration

cs-api-definition
public string Text { get; }

Property Value

string