TX Text Control .NET Server

FormCheckBox Class

Class|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.AcroForms
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll
Inherits
  1. FormField
  2. FormCheckBox
Derived
FormRadioButton

Description

The FormCheckBox class implements the Adobe PDF AcroForms check box field.

Syntax

public class FormCheckBox : FormField

Examples

The following example creates a Form Check Box instance and configures its is checked setting for a document workflow.

TXTextControl.DocumentServer.PDF.AcroForms.FormCheckBox formCheckBox = new(new TXTextControl.DocumentServer.PDF.AcroForms.FormField());
formCheckBox.IsChecked = true;

Members

Constructors

ConstructorDescription
FormCheckBoxInitializes a new instance of the FormCheckBox class.
FormFieldInitializes a new instance of the FormField class. (Inherited from AcroForms.FormField.)

Properties

PropertyDescription
AlternateFieldNameGets or sets the alternate field name of the field. (Inherited from AcroForms.FormField.)
BoundsGets or sets the rectangle bounds of the form field in the document. (Inherited from AcroForms.FormField.)
FieldNameGets or sets the name of the field. (Inherited from AcroForms.FormField.)
FieldTypeGets or sets the type of the field. (Inherited from AcroForms.FormField.)
IsCheckedSpecifies whether the check box is checked or not.