Font Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets and sets the font of the form field.
Syntax
public Font Font { get; set; }Public Property Font As FontExamples
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}");formFieldAdapter.Font = Nothing
Console.WriteLine($"Font used by Form Field Adapter: {formFieldAdapter.Font}")