TX Text Control .NET Server

ShowCheckValue Property

Property|Introduced in 29.0
Namespace
TXTextControl.Barcode
Package
TXTextControl.TextControl.Core.SDK as TXBarcode.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXBarcode.dll

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; }

Examples

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.");
}

Limitations

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.