Leadtools.Documents Namespace > DocumentPageText Object : BuildText Method |
function Leadtools.Documents.DocumentPageText.buildText()
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 seperated 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.