TX Text Control .NET Server

Value Property

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

Gets or sets the selected value of a choice list.

Syntax

public string Value { get; set; }

Examples

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

formChoiceField.Value = "Quarterly report";
if (!string.IsNullOrWhiteSpace(formChoiceField.Value))
{
    Console.WriteLine($"Value: {formChoiceField.Value}");
}