skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TextMapItem

Represents an item in a text map for proofing purposes.

Inheritance
System.Object
TextMapItem
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

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.