TX Text Control .NET for Windows Forms

LastModificationDate Property

Property|Introduced in 33.0
Namespace
TXTextControl.DocumentServer.PDF
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the date the file was last modified. When a document is saved and this property is null, the modification date of the embedded file is set to the modification date of the containing document.

Syntax

public DateTime? LastModificationDate { get; }

Examples

The following example includes the last modification date value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Last Modification Date: {embeddedFile.LastModificationDate}");
Console.WriteLine("Embedded File is ready for use.");

Limitations

Read only.