TX Text Control .NET Server

FormComboBox Constructor

Constructor|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.AcroForms
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

Description

Initializes a new instance of the FormComboBox class.

Initializes a new instance of the FormComboBox class based on a given FormChoiceField.

Syntax

public FormComboBox(FormChoiceField parent);

Parameters

ParameterDescription
parent

Specifies the parent FormChoiceField.

Examples

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;