TRVHTMLReaderProperties.BasePathLinks

<< Click to display table of contents >>

TRVHTMLReaderProperties.BasePathLinks

Specifies whether to add base path (path to HTML file) to hyperlink targets.

property BasePathLinks: Boolean;

(introduced in version 21)

Set to False if you do not want to add the document path to relative  hyperlinks on HTML loading.

For example, when loading "https://www.trichview.com/index.html" containing link to "download.html":

if this property is False, TCustomRichView.OnReadHyperlink event occurs with Target='download.html' (or, if the event is not assigned, this value is stored in them item tag);

if this property is True, this event occurs with Target='https://www.trichview.com/download.html' (or, if the event is not assigned, this value is stored in them item tag).

Default value:

True

See also:

TRichView.RTFReadProperties.BasePathLinks

rvmdloBasePathLinks option in TRichView.MarkdownProperties.LoadOptions