ClassTextMapItem
Represents an item in a text map for proofing purposes.
Definition
Namespace:Telerik.Windows.Documents.Proofing
Assembly:Telerik.Windows.Documents.Proofing.dll
Syntax:
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
public TextMapItem(int indexInRun, Run run, int length, bool containsDigits, bool isUppercase, bool containsOnlySeparators, bool containsLetters)
Parameters
indexInRun
The zero-based index within the Run where this text map item starts.
run
Run
The Run object that contains the text segment.
length
The length of the text map item within the run.
containsDigits
A value indicating whether the text map item contains any digits.
isUppercase
A value indicating whether the text map item is in uppercase.
containsOnlySeparators
A value indicating whether the text map item contains only separator characters.
containsLetters
A value indicating whether the item contains letters
Properties
ContainsDigits
Determines whether the specified text map item contains any digits.
ContainsLetters
Determines whether the TextMapItem contains any alphabetic letters.
ContainsOnlySeparators
Determines whether the current TextMapItem contains only separator characters.
IndexInRun
Gets the index of the text map item within its run.
IsLastInWord
Gets a value indicating whether the current text map item is the last item in a word.
IsUppercase
Gets a value indicating whether the text represented by the TextMapItem is in uppercase.
Length
Gets the length of the text map item.
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
Run