Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

AutoParseLinks Property

Show in webframe
Indicates whether to parse links from the text of the pages.
Syntax
get_autoParseLinks();
set_autoParseLinks(value);
Object.defineProperty('autoParseLinks');

Property Value

TypeDescription
booleantrue to parse links from the text of the pages; otherwise, false. Default value is true.
Remarks

The document class supports automatic parsing of two types of links

The page links are parsed from the original document when Parse is called and the value of DocumentStructure.ParsePageLinks is set to true. Any links found are stroed inside the page and can be retrieved using DocumentPage.GetLinks.

The hyper links are parsed the first time GetText is called and the value of DocumentText.AutoParseLinks is set to true (the default value). The document object will use the regular expressions stroed in LinkPatterns to find any matches in the text of the page with each match added as a link of type DocumentLinkType.Value to the page. These can also be retrieved with DocumentPage.GetLinks after GetText returns.

The link parsing is performed by calling DocumentPageText.ParseLinks on the DocumentPageText object for the page using the regular expressions stored in LinkPatterns.

If the value of AutoParseLinks is false then no automatic parsing for links will occur.

Example

For an example, refer to GetLinks

See Also

Reference

DocumentText Object
DocumentText Members

Error processing SSI file