rvico TRichView Reference | TRichView | TRVRTFReaderProperties

TRVRTFReaderProperties.BasePathLinks

Top  Previous  Next

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

property BasePathLinks: Boolean;

(introduced in version 10)

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

For example, when loading "c:\Docs\MyFile.rtf' containing link to "MyFile2.rtf":

if this property is False, TCustomRichView.OnReadHyperlink event occurs with Target='MyFile2.rtf';

if this property is True, this event occurs with Target='c:\Docs\MyFile2.rtf'.

 

In RVHTMLImporter, this property corresponds to rvhtmloBasePathLinks in RVHTMLImporter.Options.

Default value:

True


RichView © Sergey Tkachenko