CharCodeChecked Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the character's code that is used to render checked check boxes.
Syntax
public int CharCodeChecked { get; set; }Public Property CharCodeChecked As IntegerExamples
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}");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.