Limitations
Read only.
Gets the document's author. It is an empty string, if there is no author saved in the loaded document.
Introduced: X13.
public string Author { get; }
Public ReadOnly Property Author() As String
The following example shows how to use the Load
TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings();
string lsAuthor = ls.Author;
if (textControl1.Load(TXTextControl.StreamType.All, ls) == System.Windows.Forms.DialogResult.OK) {
System.Windows.Forms.MessageBox.Show(ls.LoadedFile + " has been loaded. " + ls.BytesRead.ToString() + " bytes read." + lsAuthor + " is the author");
}
Dim ls As TXTextControl.LoadSettings = New TXTextControl.LoadSettings()
Dim lsAuthor As String = ls.Author
If TextControl1.Load(TXTextControl.StreamType.All, ls) = System.Windows.Forms.DialogResult.OK Then
System.Windows.Forms.MessageBox.Show(ls.LoadedFile & " has been loaded. " + ls.BytesRead.ToString() & " bytes read." & lsAuthor & " is the author")
End If
Read only.