TX Text Control provides support for many field types including proprietary TextFields TX Text Control .NET for Windows Forms
TXTextControl Namespace
TextField Class
An instance of the TextField class represents a text field in a Text Control document.
, MS Word compatible ApplicationFields TX Text Control .NET for Windows Forms
TXTextControl Namespace
ApplicationField Class
The ApplicationField class supports text field formats of applications such as Microsoft Word.
, Content Control and legacy MS Word compatible FormFields TX Text Control .NET for Windows Forms
TXTextControl Namespace
FormField Class
The FormField class is the base class of all form fields.
.

When using fields from other applications such as MS Word, there are different options to handle these fields.

On loading a document, the ApplicationFieldFormat TX Text Control .NET for Windows Forms
TXTextControl Namespace
LoadSettings Class
ApplicationFieldFormat Property
Specifies the format of text fields which are imported.
property can be used to specify how a field is imported. The following code shows how to load the document and to enable MS Word compatible fields:

Loading...

LoadSettings

When importing fields, 3 relevant options can be specified:

  • None

    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.

Field Overview

The table below shows how fields are imported based on the specified LoadSettings:

Field Document Format Imported as ( LoadSettings TX Text Control .NET for Windows Forms
TXTextControl Namespace
LoadSettings Class
ApplicationFieldFormat Property
Specifies the format of text fields which are imported.
)
None MSWord MSWordTXFormFields
TextField InternalUnicodeFormat, InternalFormat TextField TX Text Control .NET for Windows Forms
TXTextControl Namespace
TextField Class
An instance of the TextField class represents a text field in a Text Control document.
N/A N/A
MergeField MSWord, WordprocessingML, RichTextFormat × ApplicationField TX Text Control .NET for Windows Forms
TXTextControl Namespace
ApplicationField Class
The ApplicationField class supports text field formats of applications such as Microsoft Word.
ApplicationField TX Text Control .NET for Windows Forms
TXTextControl Namespace
ApplicationField Class
The ApplicationField class supports text field formats of applications such as Microsoft Word.
DOCVARIABLE MSWord, WordprocessingML, RichTextFormat × ApplicationField TX Text Control .NET for Windows Forms
TXTextControl Namespace
ApplicationField Class
The ApplicationField class supports text field formats of applications such as Microsoft Word.
ApplicationField TX Text Control .NET for Windows Forms
TXTextControl Namespace
ApplicationField Class
The ApplicationField class supports text field formats of applications such as Microsoft Word.
Content Control MSWord, WordprocessingML, RichTextFormat FormFields TX Text Control .NET for Windows Forms
TXTextControl Namespace
FormField Class
The FormField class is the base class of all form fields.
ApplicationField TX Text Control .NET for Windows Forms
TXTextControl Namespace
ApplicationField Class
The ApplicationField class supports text field formats of applications such as Microsoft Word.
FormFields TX Text Control .NET for Windows Forms
TXTextControl Namespace
FormField Class
The FormField class is the base class of all form fields.
Legacy Form Fields MSWord, WordprocessingML, RichTextFormat FormFields TX Text Control .NET for Windows Forms
TXTextControl Namespace
FormField Class
The FormField class is the base class of all form fields.
ApplicationField TX Text Control .NET for Windows Forms
TXTextControl Namespace
ApplicationField Class
The ApplicationField class supports text field formats of applications such as Microsoft Word.
FormFields TX Text Control .NET for Windows Forms
TXTextControl Namespace
FormField Class
The FormField class is the base class of all form fields.