Sets a file path that is used to search for resources like images or hypertext links. This path is added to all relative file paths used in the document.


public string DocumentBasePath { get; set; }
Public Property DocumentBasePath() As String


This example shows a simple variant of how to use the 'TXTextControl.LoadSettings.DocumentBasePath' property. Here, it is set to a (imaginary) path where all document resources are stored.

TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings();
ls.DocumentBasePath = "C:/Users/David/Documents";
Dim ls As TXTextControl.LoadSettings = New TXTextControl.LoadSettings()
ls.DocumentBasePath = "C:/Users/David/Documents"