Gets the document's creation date. It is January 1, 0001 in the Gregorian calendar, if there is no creation date saved in the loaded document.

Introduced: X13.

Syntax

public System.DateTime CreationDate { get; }
Public ReadOnly Property CreationDate() As System.DateTime

Examples

This example describes an easy way of using the 'TXTextControl.LoadSettings.CreationDate' property. Here, it is stored in a variable of the type 'System.DateTime'.

TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings();
System.DateTime creationDate = ls.CreationDate;

System.Windows.Forms.MessageBox.Show("The loaded document has been created on the following date: " + creationDate.ToString());
Dim ls As TXTextControl.LoadSettings = New TXTextControl.LoadSettings()
Dim creationDate As System.DateTime = ls.CreationDate
System.Windows.Forms.MessageBox.Show("The loaded document has been created on the following date: " & creationDate.ToString())

Limitations

Read only.