Specifies the format of text fields which are imported. The property's value can be one of the ApplicationFieldFormat values.

Introduced: 14.0.

Syntax

public ApplicationFieldFormat ApplicationFieldFormat { get; set; }
Public Property ApplicationFieldFormat() As ApplicationFieldFormat

Members

Member Description
None Default value. Textfields supported through other applications are not imported as ApplicationFields. Formfields are imported as TextControl FormFields.
MSWord Fields which are supported and defined through Microsoft Word are imported as ApplicationFields. The LoadSettings.ApplicationFieldTypeNames property can be used to select particular types of fields.
MSWordTXFormFields Fields which are supported and defined through Microsoft Word are imported as ApplicationFields with an exception of form fields. Form fields such as comboboxes, checkboxes and form textfields are imported as TextControl FormFields.
HighEdit Fields which are supported and defined through the Heiler HighEdit component are imported as ApplicationFields.

Examples

The following example shows how to use the LoadSettings to specify what field formats should be used.

TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings();
ls.ApplicationFieldFormat = TXTextControl.ApplicationFieldFormat.MSWord; // here, the field format is set
string [] fields = new string[]{ "MERGEFIELD" };
ls.ApplicationFieldTypeNames = fields;
Dim ls As TXTextControl.LoadSettings = New TXTextControl.LoadSettings()
ls.ApplicationFieldFormat = TXTextControl.ApplicationFieldFormat.MSWord ' here, the field format is set 
Dim fields As String() = New String() {"MERGEFIELD"}
ls.ApplicationFieldTypeNames = fields

Limitations

Microsoft Word and RTF only.

Further Reading

Learn more about the TXTextControl.LoadSettings.ApplicationFieldFormat Property in the Text Control Blog: