TX Text Control .NET Server

CharCodeUnchecked Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer
Package
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

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

Syntax

public int CharCodeUnchecked { get; set; }

Examples

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

documentController.CharCodeUnchecked = 10;
Console.WriteLine($"Char Code Unchecked used by Document Controller: {documentController.CharCodeUnchecked}");

Remarks

The value of this property relates to the setting of DocumentServer.DocumentController.CheckBoxFont. The property's default value is 168, which is the code for 'ballot box' 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.