buildText Method


Build the text found in the document page as a simple string object.


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


The document page text can be obtained as a simple string object through the Text property. This is not performed automatically and you must call BuildText to populate this property with the text value from Characters. Note that BuildText will also build the words by calls BuildWords first if this has not been done by the user first.

After the words are set in BuildWords, this method will create the text string by appending all the items in Words separated by a white space character. The result is then set in Text.

For more information, refer to Parsing Text with the Documents Library.


For an example, refer to GetText.


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