CreationDate Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
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.
Syntax
public DateTime CreationDate { get; }Public ReadOnly Property CreationDate As DateTimeExamples
The following example reads LoadSettings.CreationDate after the template has been loaded.
LoadSettings loadSettings = new();
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
Console.WriteLine($"Creation Date: {loadSettings.CreationDate}");Dim loadSettings As New LoadSettings()
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)
Console.WriteLine($"Creation Date: {loadSettings.CreationDate}")Limitations
Read only.