TX Text Control .NET Server

CharCodeChecked 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 checked check boxes.

Syntax

public int CharCodeChecked { get; set; }

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.

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