LastModificationDate Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the date the document is last modified. It is January 1, 0001 in the Gregorian calendar, if such a date is not saved in the loaded document.
Syntax
public DateTime LastModificationDate { get; }Public ReadOnly Property LastModificationDate As DateTimeExamples
The following example reads LoadSettings.LastModificationDate after the template has been loaded.
LoadSettings loadSettings = new();
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
Console.WriteLine($"Last Modification Date: {loadSettings.LastModificationDate}");Dim loadSettings As New LoadSettings()
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)
Console.WriteLine($"Last Modification Date: {loadSettings.LastModificationDate}")Limitations
Read only.