TX Text Control .NET Server

Javascript: DocumentLoadedEventArgs.fileName Property

Property|Introduced in 23.0

Description

The file name of the loaded document.

Syntax

<string> DocumentLoadedEventArgs.fileName

Examples

The following example demonstrates DocumentLoadedEventArgs.fileName in a practical document-editing workflow. The file name of the loaded document.

function inspectFileName(documentLoadedEventArgs) {
    const fileName = documentLoadedEventArgs.fileName;
    console.log("file name:", fileName);
}