List that contains the indices into Characters of each character in Text
Object.defineProperty(DocumentPageText.prototype, 'textMap',
get: function()
)
textMap: number[]; // read-only
A list of integers that contain the indices into Characters of each character in Text. Default value is null.
TextMap is populated by this object when BuildTextWithMap is called. It will contain the indices into
Characters of each character in the string Text. This works similarly to BuildWords, in the example
if HelloWorld
, TextMap, Text will contain the string "Hello World" while TextMap will
have 11 entries as follows:
0 1 2 3 4 -1 5 6 7 8 9
H e l l o W o r l d
In this example, TextMap contains 11 entries even through the length of Characters is 10. The extra entry is for the whitespace character inserted by BuildTextWithMap. This character will have an entry value of -1 since it is not part of the Characters list.
Products |
Support |
Feedback: textMap Property (DocumentPageText) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.