To prevent changing the text of a text field, the TextField.Editable property can be used.
Text fields can be edited by the end-user like any other text in the document. The following table lists all available collections and their corresponding properties: Collection Class The collection of page number fields can only be obtained through a property of the HeaderFooter class. Each collection is available through a readonly property of the TextControl, WPF.TextControl and ServerTextControl classes. The collections can be used to add or remove fields, to get a individual item or to enumerate all fields of a certain type. This field can only be used in a header or a footer.ĭerived class that implements a field providing an interface to retrieve and change the data and parameters of Microsoft Word fields and Heiler High Edit fields.įor each type of text field, a Text Control manages a collection containing all fields of the same type. It can be used for links that point to targets outside of the current document.ĭerived class that can be used for links that point to targets inside of the current document.ĭerived class that implements a target in a document.ĭerived class that implements a field that automatically shows the current page number. It can be used to handle database fields, spreadsheet features or bookmarks.ĭerived class that implements a hypertext link. These are listed in the following table: Class Additional classes, all of which are derived from the TextField class, are available for special types of marked text fields. These base features are explained later in this article. It implements the base functionality of marked text fields like text and position, editing features, and data and event handling. The base class for all types of text fields is the TextField class. Overview of the TextField and Hypertext Link Classes
Code examples can be found in the User's Guide chapters Using Marked Text Fields, Using Hypertext Links, Mail Merge and Connecting to Databases. They can be used to create hypertext features, to realize database embedding while text of different datasets can be included into the text or to combine several fields with formulas as in spreadsheet applications.
These pieces of text are called marked text fields.
TX Text Control offers a set of classes to define text positions or pieces of text in the document with a special meaning.