CheckBoxFont Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the font used for rendering check boxes.
Syntax
public System.Drawing.Font CheckBoxFont { get; set; }Public Property CheckBoxFont As System.Drawing.FontExamples
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);Dim DocumentController1 As TXTextControl.DocumentController = 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.");
}documentController.CheckBoxFont = New System.Drawing.Font("Arial", 11.0F)
If documentController.CheckBoxFont IsNot Nothing Then
Console.WriteLine("Document Controller: Check Box Font is available.")
End IfRemarks
The default check box font is Wingdings.