​
​
​

Gets the document's title. It is an empty string, if there is no title saved in the loaded document.

Syntax

​public string DocumentTitle { get; }
​Public ReadOnly Property DocumentTitle() As String

Examples

This example shows a simple variant of how to use the 'TXTextControl.LoadSettings.DocumentTitle' property. Here, it is stored in a variable of the type 'string'.

​TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings();
//...
string docTitle = ls.DocumentTitle;
//...
​Dim ls As TXTextControl.LoadSettings = New TXTextControl.LoadSettings()
'...
Dim docTitle As String = ls.DocumentTitle
'...
​

Limitations

Read only.

​