FormComboBox Class
- Namespace
TXTextControl.DocumentServer. PDF. AcroForms
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXDocumentServer.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXDocumentServer.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
- Inherits
- Form
Field - Form
Choice Field - Form
Combo Box
- Form
- Derived
- Form
List Box
Description
The FormComboBox class implements the Adobe PDF AcroForms combo box field.
Syntax
public class FormComboBox : FormChoiceFieldPublic Class FormComboBox
Inherits FormChoiceFieldExamples
The following example creates a Form Combo Box instance and configures its can edit setting for a document workflow.
TXTextControl.DocumentServer.PDF.AcroForms.FormComboBox formComboBox = new(new TXTextControl.DocumentServer.PDF.AcroForms.FormChoiceField(new TXTextControl.DocumentServer.PDF.AcroForms.FormField()));
formComboBox.CanEdit = true;Dim formComboBox As New TXTextControl.DocumentServer.PDF.AcroForms.FormComboBox(New TXTextControl.DocumentServer.PDF.AcroForms.FormChoiceField(New TXTextControl.DocumentServer.PDF.AcroForms.FormField()))
formComboBox.CanEdit = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| FormChoiceField | Initializes a new instance of the FormChoiceField class. (Inherited from AcroForms.FormChoiceField.) |
| FormComboBox | Initializes a new instance of the FormComboBox class. |
Properties
| Property | Description |
|---|---|
| CanEdit | Specifies whether a field can be edited. (Inherited from AcroForms.FormChoiceField.) |
| CommitOnSelChange | Specifies whether the form is submitted when the selected is changed. (Inherited from AcroForms.FormChoiceField.) |
| DoNotSpellCheck | Specifies whether spell checking is enabled or not. (Inherited from AcroForms.FormChoiceField.) |
| MultiSelect | Specifies whether multiple options can be selected. (Inherited from AcroForms.FormChoiceField.) |
| Options | Gets or sets the option elements of a choice field. (Inherited from AcroForms.FormChoiceField.) |
| Sort | Specifies whether the list can be sorted. (Inherited from AcroForms.FormChoiceField.) |
| Value | Gets or sets the selected value of a choice list. (Inherited from AcroForms.FormChoiceField.) |