FormCheckBox Class
- Namespace
TXTextControl.DocumentServer. PDF. AcroForms
- 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
- Form
Field - Form
Check Box
- Form
- Derived
- Form
Radio Button
Description
The FormCheckBox class implements the Adobe PDF AcroForms check box field.
Syntax
public class FormCheckBox : FormFieldPublic Class FormCheckBox
Inherits FormFieldExamples
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;Dim formCheckBox As New TXTextControl.DocumentServer.PDF.AcroForms.FormCheckBox(New TXTextControl.DocumentServer.PDF.AcroForms.FormField())
formCheckBox.IsChecked = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| FormCheckBox | Initializes a new instance of the FormCheckBox class. |
| FormField | Initializes a new instance of the FormField class. (Inherited from AcroForms.FormField.) |
Properties
| Property | Description |
|---|---|
| AlternateFieldName | Gets or sets the alternate field name of the field. (Inherited from AcroForms.FormField.) |
| Bounds | Gets or sets the rectangle bounds of the form field in the document. (Inherited from AcroForms.FormField.) |
| FieldName | Gets or sets the name of the field. (Inherited from AcroForms.FormField.) |
| FieldType | Gets or sets the type of the field. (Inherited from AcroForms.FormField.) |
| IsChecked | Specifies whether the check box is checked or not. |