TX Text Control .NET for Windows Forms

Options Property

Property|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

Gets or sets the option elements of a choice field.

Syntax

public string[] Options { get; set; }

Examples

The following example uses FormChoiceField.Options to configure options as part of the form choice field workflow. The configured value is checked before the workflow continues.

formChoiceField.Options = new string[] { "Quarterly report" };
if (formChoiceField.Options != null)
{
    Console.WriteLine("Form Choice Field: Options is available.");
}