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