ShowCheckValue Property
- Namespace
TXTextControl.Barcode
- Package
TXTextControl.asTextControl. WinForms. SDK TXBarcode.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets a value indicating whether the check value of the current used barcode type is shown with the encrypted barcode text value.
Syntax
public bool ShowCheckValue { get; set; }Public Property ShowCheckValue As BooleanExamples
The following example uses BarcodeTypeSettings.ShowCheckValue to configure show check value as part of the barcode type settings workflow. The configured value is checked before the workflow continues.
barcodeTypeSettings.ShowCheckValue = true;
if (barcodeTypeSettings.ShowCheckValue)
{
Console.WriteLine("Barcode Type Settings: Show Check Value is enabled.");
}barcodeTypeSettings.ShowCheckValue = True
If barcodeTypeSettings.ShowCheckValue Then
Console.WriteLine("Barcode Type Settings: Show Check Value is enabled.")
End IfLimitations
By default the following supported barcode types display the check sum with the encrypted barcode text value if the BarcodeTypeSettings.HasCheckValue property returns true: Interleaved2of5, Code39, EAN13, EAN8, UPCA, Postnet and Codabar.
For the following barcode types this property can be used to determine whether the check sum is displayed with the encrypted barcode text value if the BarcodeTypeSettings.HasCheckValue property returns true: Code128, Interleaved2of5, Code39, Postnet, Codabar, Code11, Code93, PLANET and RoyalMail.