# DocumentController.CheckBoxFont Property

> Gets or sets the font used for rendering check boxes.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **Namespace:** `TXTextControl.DocumentServer`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.DocumentServer > DocumentController.CheckBoxFont Property
- **742 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/documentcontroller/checkboxfont-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/documentcontroller/checkboxfont-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/documentcontroller/checkboxfont-property/llms-full.txt

---

### Description

Gets or sets the font used for rendering check boxes.

### Syntax

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

```vbnet
Public Property CheckBoxFont As System.Drawing.Font
```

### Examples

The following example sets a new check box font:

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

```vbnet
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.

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

```vbnet
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 If
```

### Remarks

The default check box font is Wingdings.

---

## Nearby

- **Previous:** [DocumentController.CharCodeUnchecked Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/documentcontroller/charcodeunchecked-property/llms-full.txt)
- **Next:** [DocumentController Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/documentcontroller/constructor/llms-full.txt)
