CharCodeUnchecked Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. ASP. 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 unchecked check boxes.
Syntax
public int CharCodeUnchecked { get; set; }Public Property CharCodeUnchecked As IntegerExamples
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}");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.