Leadtools.Documents Namespace > DocumentStructure Object : Parse Method |
function Leadtools.Documents.DocumentStructure.parse()
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.
For an example, refer to DocumentStructure.