TX Text Control .NET Server

FieldDisplayMode Enumeration

Enumeration
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

Description

Specifies identifiers to indicate the field display mode.

Syntax

public enum FieldDisplayMode

Members

MemberValueDescription
ShowFieldText0The field text is displayed.
ShowFieldCodes1The field codes are displayed.

Examples

The following example selects the Show Field Text value from the Field Display Mode enumeration and uses it as a documented workflow choice.

TXTextControl.DocumentServer.DataSources.FieldDisplayMode value = TXTextControl.DocumentServer.DataSources.FieldDisplayMode.ShowFieldText;
Console.WriteLine($"Using Field Display Mode: {value}");