TX Text Control .NET for Windows Forms

FormChoiceField Constructor

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

Description

Initializes a new instance of the FormChoiceField class.

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

Syntax

public FormChoiceField(FormField parent);

Parameters

ParameterDescription
parent

Specifies the parent FormField.

Examples

The following example creates a Form Choice Field instance and configures its can edit setting for a document workflow.

TXTextControl.DocumentServer.PDF.AcroForms.FormChoiceField formChoiceField = new(new TXTextControl.DocumentServer.PDF.AcroForms.FormField());
formChoiceField.CanEdit = true;