TextMapItem
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
Initializes a new instance of the TextMapItem class with the specified parameters.
public TextMapItem(int indexInRun, Run run, int length, bool containsDigits, bool isUppercase, bool containsOnlySeparators, bool containsLetters)
The zero-based index within the Run where this text map item starts.
runRunThe Run object that contains the text segment.
lengthintThe length of the text map item within the run.
containsDigitsboolA value indicating whether the text map item contains any digits.
isUppercaseboolA value indicating whether the text map item is in uppercase.
containsOnlySeparatorsboolA value indicating whether the text map item contains only separator characters.
containsLettersboolA value indicating whether the item contains letters
Properties
Determines whether the specified text map item contains any digits.
public bool ContainsDigits { get; set; }
Determines whether the TextMapItem contains any alphabetic letters.
public bool ContainsLetters { get; set; }
Determines whether the current TextMapItem contains only separator characters.
public bool ContainsOnlySeparators { get; set; }
Gets the index of the text map item within its run.
public int IndexInRun { get; set; }
Gets a value indicating whether the current text map item is the last item in a word.
public bool IsLastInWord { get; set; }
Gets a value indicating whether the text represented by the TextMapItem is in uppercase.
public bool IsUppercase { get; set; }
Run
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.
public Run Run { get; set; }