Class TextMapItem
Represents an item in a text map for proofing purposes.
Inheritance
Namespace: Telerik.Windows.Documents.Proofing
Assembly: Telerik.Windows.Documents.Proofing.dll
Syntax
public class TextMapItem : Object
Constructors
TextMapItem(Int32, Run, Int32, Boolean, Boolean, Boolean, Boolean)
Initializes a new instance of the TextMapItem class with the specified parameters.
Declaration
public TextMapItem(int indexInRun, Run run, int length, bool containsDigits, bool isUppercase, bool containsOnlySeparators, bool containsLetters)
Parameters
System.Int32
indexInRun
The zero-based index within the Run where this text map item starts. |
System.Windows.Documents.Run
run
The Run object that contains the text segment. |
System.Int32
length
The length of the text map item within the run. |
System.Boolean
containsDigits
A value indicating whether the text map item contains any digits. |
System.Boolean
isUppercase
A value indicating whether the text map item is in uppercase. |
System.Boolean
containsOnlySeparators
A value indicating whether the text map item contains only separator characters. |
System.Boolean
containsLetters
A value indicating whether the item contains letters |
Properties
ContainsDigits
Determines whether the specified text map item contains any digits.
Declaration
public bool ContainsDigits { get; set; }
Property Value
System.Boolean
|
ContainsLetters
Determines whether the TextMapItem contains any alphabetic letters.
Declaration
public bool ContainsLetters { get; set; }
Property Value
System.Boolean
|
ContainsOnlySeparators
Determines whether the current TextMapItem contains only separator characters.
Declaration
public bool ContainsOnlySeparators { get; set; }
Property Value
System.Boolean
|
IndexInRun
Gets the index of the text map item within its run.
Declaration
public int IndexInRun { get; set; }
Property Value
System.Int32
|
IsLastInWord
Gets a value indicating whether the current text map item is the last item in a word.
Declaration
public bool IsLastInWord { get; set; }
Property Value
System.Boolean
|
IsUppercase
Gets a value indicating whether the text represented by the TextMapItem is in uppercase.
Declaration
public bool IsUppercase { get; set; }
Property Value
System.Boolean
|
Length
Gets the length of the text map item.
Declaration
public int Length { get; set; }
Property Value
System.Int32
|
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
public Run Run { get; set; }
Property Value
System.Windows.Documents.Run
|
Text
Gets or sets the text content of the TextMapItem.
Declaration
public string Text { get; }
Property Value
System.String
|