DateField Object
Description
Represents an MS Word specific DATE field. Is used as a parameter for the addMergeField method.
Syntax
TXTextControl.DateFieldExamples
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
| Property | Description |
|---|---|
| format | Specifies the format of the field. It must be a standard DateTime format string of the .NET Framework. |
| preserveFormatting | Specifies whether the field's formatting should be preserved. |