TX Text Control .NET Server

DateField Object

Object|Introduced in 25.0

Description

Represents an MS Word specific DATE field. Is used as a parameter for the addMergeField method.

Syntax

TXTextControl.DateField

Examples

The following example demonstrates TXTextControl.DateField in a practical document-editing workflow. It represents an MS Word specific DATE field. Is used as a parameter for the addMergeField method.

function inspectDateField(dateField) {
    console.log("TXTextControl.DateField object:", dateField);
}

Members

Properties

PropertyDescription
formatSpecifies the format of the field. It must be a standard DateTime format string of the .NET Framework.
preserveFormattingSpecifies whether the field's formatting should be preserved.