TX Text Control .NET for Windows Forms

FormCheckBox Class

Class|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Inherits
  1. FieldAdapter
  2. FormFieldAdapter
  3. FormCheckBox

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 : FormFieldAdapter

Examples

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";

Members

Constructors

ConstructorDescription
FormCheckBoxInitializes a new instance of the FormText class.
FormFieldAdapterInitializes a new instance of the FormFieldAdapter class. (Inherited from FormFieldAdapter.)

Properties

PropertyDescription
BoundsGets and sets the bounds of the form field. The rectangle's location and the size are specified in twips. (Inherited from FormFieldAdapter.)
CalcOnExitGets or sets the CalcOnExit property of the field. (Inherited from FormFieldAdapter.)
CheckedSpecifies whether the field is checked or not.
EnabledSpecifies whether the field is enabled or not. (Inherited from FormFieldAdapter.)
FontGets and sets the font of the form field. (Inherited from FormFieldAdapter.)
HelpTextGets and sets the help text of the field. (Inherited from FormFieldAdapter.)
NameGets and sets the name of the form field. (Inherited from FormFieldAdapter.)
SizeSpecifies the maximum length of the field.
SizeAutoSpecifies whether the field is automatically resized or not.
StatusTextGets and sets the status text of the field. (Inherited from FormFieldAdapter.)
TextGets and sets the text of the form field. (Inherited from FormFieldAdapter.)

Fields

FieldDescription
TYPE_NAMENot described in the reference. public const string TYPE_NAME = "FORMCHECKBOX";