# DocumentController.CharCodeChecked Property

> Gets or sets the character's code that is used to render checked check boxes.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **Namespace:** `TXTextControl.DocumentServer`
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl.DocumentServer > DocumentController.CharCodeChecked Property
- **421 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver/documentcontroller/charcodechecked-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver/documentcontroller/charcodechecked-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver/documentcontroller/charcodechecked-property/llms-full.txt

---

### Description

Gets or sets the character's code that is used to render checked check boxes.

### Syntax

```csharp
public int CharCodeChecked { get; set; }
```

```vbnet
Public Property CharCodeChecked As Integer
```

### Examples

The following example uses `DocumentController.CharCodeChecked` to configure char code checked as part of the document controller workflow. The configured value is checked before the workflow continues.

```csharp
documentController.CharCodeChecked = 10;
Console.WriteLine($"Char Code Checked used by Document Controller: {documentController.CharCodeChecked}");
```

```vbnet
documentController.CharCodeChecked = 10
Console.WriteLine($"Char Code Checked used by Document Controller: {documentController.CharCodeChecked}")
```

### Remarks

The value of this property relates to the setting of [DocumentServer.DocumentController.CheckBoxFont](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver/documentcontroller/checkboxfont-property/llms-full.txt). The property's default value is 254, which is the code for 'ballot box with check' in Wingdings. The character codes can be looked up using the system tool `Character Map`. The hexadecimal character codes shown there simply have to be converted to decimal values.

---

## Nearby

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