TX Text Control .NET for WPF

CheckBoxFont Property

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

Description

Gets or sets the font used for rendering check boxes.

Syntax

public System.Drawing.Font CheckBoxFont { get; set; }

Examples

The following example sets a new check box font:

TXTextControl.DocumentController documentController1 = new TXTextControl.DocumentController();
documentController1.CheckBoxFont = new System.Drawing.Font(new FontFamily("Symbol"), 1f);

The following example uses DocumentController.CheckBoxFont to configure check box font as part of the document controller workflow. The configured value is checked before the workflow continues.

documentController.CheckBoxFont = new System.Drawing.Font("Arial", 11.0f);
if (documentController.CheckBoxFont != null)
{
    Console.WriteLine("Document Controller: Check Box Font is available.");
}

Remarks

The default check box font is Wingdings.