TX Text Control .NET for WPF

Format Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the TextFormatOptions of the field.

Syntax

public TextFormatOptions Format { get; set; }

Examples

The following example uses FormText.Format to configure format as part of the form text workflow. The configured value is checked before the workflow continues.

formText.Format = TXTextControl.DocumentServer.Fields.TextFormatOptions.Uppercase;
Console.WriteLine($"Format used by Form Text: {formText.Format}");