parse Method


Parse the structure of this document and read the bookmarks and table of content.


JavaScript Syntax
DocumentStructure.prototype.parse = function() 
TypeScript Syntax
parse(): JQueryPromise<Document>; 


Bookmarks will contain an empty list if the structure of the document has not been parsed yet (the value of IsParsed is false). This list will be populated with the items found in the original document when Parse is called and the value of ParseBookmarks is true (the default value). When Parse returns, the value of IsParsed will be set to true.

Parse will also parse the document for any links found in the pages if the value of ParsePageLinks is true (the default value), these can be obtain through the DocumentPage.GetLinks method.

Note that calling this method will propagate down to each child document (if supported).


For an example, refer to DocumentStructure.


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