buildTextWithMap Method


Build the text found in the document page with extra map back into the characters list.


JavaScript Syntax
DocumentPageText.prototype.buildTextWithMap = function() 
TypeScript Syntax
buildTextWithMap(): void; 


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.


Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly