# SpellCheckDialog.Font Property

> Gets or sets the font for the text displayed by the SpellCheckDialog labels, the preview, suggestion list, suggestion dictionary combo box and the cancel button. The default is the value of the System.Windows.Forms.Control.DefaultFont property.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 3.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.SDK` (assembly `TXSpell.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.Windows.Forms.dll` from the setup
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > SpellCheckDialog.Font Property
- **535 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/font-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/font-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/font-property/llms-full.txt

---

### Description

Gets or sets the font for the text displayed by the SpellCheckDialog labels, the [preview](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/preview/llms-full.txt), [suggestion list](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestionlist/llms-full.txt), [suggestion dictionary combo box](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestiondictionarycombobox/llms-full.txt) and the cancel button. The default is the value of the `System.Windows.Forms.Control.DefaultFont` property.

### Syntax

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

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

### Examples

The following example uses `SpellCheckDialog.Font` to configure font as part of the spell check dialog workflow. The configured value is checked before the workflow continues.

```csharp
spellCheckDialog.Font = new System.Drawing.Font("Arial", 11.0f);
if (spellCheckDialog.Font != null)
{
    Console.WriteLine("Spell Check Dialog: Font is available.");
}
```

```vbnet
spellCheckDialog.Font = New System.Drawing.Font("Arial", 11.0F)
If spellCheckDialog.Font IsNot Nothing Then
    Console.WriteLine("Spell Check Dialog: Font is available.")
End If
```

---

## Nearby

- **Previous:** [SpellCheckDialog.CloseOnFinished Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/closeonfinished-property/llms-full.txt)
- **Next:** [SpellCheckDialog.HideSelection Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/hideselection-property/llms-full.txt)
