# StatusBarViewGenerator.Font Property

> Gets or sets the font which is used to display text.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.ServerVisualisation`
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.ServerVisualization > StatusBarViewGenerator.Font Property
- **457 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/font-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/font-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/font-property/llms-full.txt

---

### Description

Gets or sets the font which is used to display text.

### Syntax

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

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

### Examples

The following example uses `StatusBarViewGenerator.Font` to configure font as part of the status bar view generator workflow. The configured value is checked before the workflow continues.

```csharp
statusBarViewGenerator.Font = new System.Drawing.Font("Arial", 11.0f);
if (statusBarViewGenerator.Font != null)
{
    Console.WriteLine("Status Bar View Generator: Font is available.");
}
```

```vbnet
statusBarViewGenerator.Font = New System.Drawing.Font("Arial", 11.0F)
If statusBarViewGenerator.Font IsNot Nothing Then
    Console.WriteLine("Status Bar View Generator: Font is available.")
End If
```

---

## Nearby

- **Previous:** [StatusBarViewGenerator.DisplayColors Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/displaycolors-property/llms-full.txt)
- **Next:** [StatusBarViewGenerator.LineText Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/linetext-property/llms-full.txt)
