TX Text Control .NET for Windows Forms

Font Property

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

Description

Gets and sets the font of the form field.

Syntax

public Font Font { get; set; }

Examples

The following example uses FormFieldAdapter.Font to configure font as part of the form field adapter workflow. The configured value is checked before the workflow continues.

formFieldAdapter.Font = default(TXTextControl.DocumentServer.Fields.Font);
Console.WriteLine($"Font used by Form Field Adapter: {formFieldAdapter.Font}");