←Select platform

Parse Method

Summary

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

Syntax
C#
VB
C++
Java
public void Parse() 
Public Sub Parse() 
public:  
   void Parse() 
public void parse() 

Remarks

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 propogate down to each child document (if supported).

Example

For an example, refer to DocumentStructure.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly