Leadtools.Documents Namespace > DocumentPageText Object : BuildTextWithMap Method |
function Leadtools.Documents.DocumentPageText.buildTextWithMap()
The FirstCharacterIndex and LastCharacterIndex of the DocumentWord object can be used to map the word back to the original characters in the Characters list. Similarly, you can use BuildTextWithMap to populate Text as well the TextMap list that can be used to map the text string all the way back to its part in the Characters list.
For more information, refer to TextMap.