TX Text Control .NET Server

DateField Constructor

Constructor|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

Description

Initializes a new instance of the DateField class.

Syntax

DateField()

Initializes a complete new instance of the DateField class without a connection to an existing ApplicationField.

public DateField();

DateField(ApplicationField)

Initializes new instance of the DateField class with a connection to an existing ApplicationField.

public DateField(ApplicationField appField);
ParameterDescription
appField

Specifies the ApplicationField to be adapted.

Examples

The following example creates a Date Field instance and configures its text setting for a document workflow.

TXTextControl.DocumentServer.Fields.DateField dateField = new();
dateField.Text = "Quarterly results";

Further Reading

  • Inserting and Processing MS Word Compatible DATE Fields –