FormCheckBox Class
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXDocumentServer.from the setup.dll
- Inherits
- Field
Adapter - Form
Field Adapter - Form
Check Box
- Field
Description
The FormText implements the MS Word specific FORMCHECKBOX field. This field must be used in combination with an ApplicationField that should be modified using this adapter.
Syntax
public class FormCheckBox : FormFieldAdapterPublic Class FormCheckBox
Inherits FormFieldAdapterExamples
The following example creates a Form Check Box instance and configures its help text setting for a document workflow.
TXTextControl.DocumentServer.Fields.FormCheckBox formCheckBox = new();
formCheckBox.HelpText = "Quarterly results";Dim formCheckBox As New TXTextControl.DocumentServer.Fields.FormCheckBox()
formCheckBox.HelpText = "Quarterly results"Members
Constructors
| Constructor | Description |
|---|---|
| FormCheckBox | Initializes a new instance of the FormText class. |
| FormFieldAdapter | Initializes a new instance of the FormFieldAdapter class. (Inherited from FormFieldAdapter.) |
Properties
| Property | Description |
|---|---|
| Bounds | Gets and sets the bounds of the form field. The rectangle's location and the size are specified in twips. (Inherited from FormFieldAdapter.) |
| CalcOnExit | Gets or sets the CalcOnExit property of the field. (Inherited from FormFieldAdapter.) |
| Checked | Specifies whether the field is checked or not. |
| Enabled | Specifies whether the field is enabled or not. (Inherited from FormFieldAdapter.) |
| Font | Gets and sets the font of the form field. (Inherited from FormFieldAdapter.) |
| HelpText | Gets and sets the help text of the field. (Inherited from FormFieldAdapter.) |
| Name | Gets and sets the name of the form field. (Inherited from FormFieldAdapter.) |
| Size | Specifies the maximum length of the field. |
| SizeAuto | Specifies whether the field is automatically resized or not. |
| StatusText | Gets and sets the status text of the field. (Inherited from FormFieldAdapter.) |
| Text | Gets and sets the text of the form field. (Inherited from FormFieldAdapter.) |
Fields
| Field | Description |
|---|---|
| TYPE_NAME | Not described in the reference. public const string TYPE_NAME = "FORMCHECKBOX"; |