FormListBox Constructor
- Namespace
TXTextControl.DocumentServer. PDF. AcroForms
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Initializes a new instance of the FormListBox class.
Initializes a new instance of the FormListBox class based on a given FormChoiceField.
Syntax
public FormListBox(FormChoiceField parent);Public Sub New(parent As FormChoiceField)Parameters
| Parameter | Description |
|---|---|
| parent | Specifies the parent FormChoiceField. |
Examples
The following example creates a Form List Box instance and configures its can edit setting for a document workflow.
TXTextControl.DocumentServer.PDF.AcroForms.FormListBox formListBox = new(new TXTextControl.DocumentServer.PDF.AcroForms.FormChoiceField(new TXTextControl.DocumentServer.PDF.AcroForms.FormField()));
formListBox.CanEdit = true;Dim formListBox As New TXTextControl.DocumentServer.PDF.AcroForms.FormListBox(New TXTextControl.DocumentServer.PDF.AcroForms.FormChoiceField(New TXTextControl.DocumentServer.PDF.AcroForms.FormField()))
formListBox.CanEdit = True