TX Text Control .NET Server

Javascript: TXTextControl.LoadSettings.documentBasePath Property

Property|Introduced in 28.0

Description

Sets a file path that is used to search for resources like images or hypertext links.

Syntax

<string> TXTextControl.LoadSettings.documentBasePath

Examples

The following example demonstrates TXTextControl.LoadSettings.documentBasePath in a practical document-editing workflow. It sets a file path that is used to search for resources like images or hypertext links.

function inspectDocumentBasePath(loadSettings) {
    const documentBasePath = loadSettings.documentBasePath;
    console.log("document base path:", documentBasePath);
}