Visual Basic (Declaration) | |
---|---|
Public Property CheckSumEnabled As System.Boolean |
C# | |
---|---|
public System.bool CheckSumEnabled {get; set;} |
Property Value
Boolean. Default is true.- Property is valid for the following barcodes:
Ansi39
Ansi39x
Code39
Code39x
Code_128_A
Code_128_B
Code_128_C
Code_128auto
Code_93
Code93x
MSI
PostNet
EAN_8
UPC_A
RM4SCC
UCCEAN128
- Property is not valid for the following barcodes:
Codabar(NW-7)
EAN_13(JAN13)
Code_2_of_5
Code25intlv
Matrix_2_of_5
UPC_E0
UPC_E1
QRCode
Code49
DataMatrix
Pdf417
IntelligentMail
JapanesePostal (Checksum is added automatically irrespective of the value set in the CheckSumEnabled property.)
EAN128FNC1 (Checksum is added automatically irrespective of the value set in the CheckSumEnabled property.)
RSS14 (Checksum is added automatically irrespective of the value set in the CheckSumEnabled property.)
RSS14Truncated (Checksum is added automatically irrespective of the value set in the CheckSumEnabled property.)
RSS14Stacked (Checksum is added automatically irrespective of the value set in the CheckSumEnabled property.)
RSS14StackedOmnidirectional (Checksum is added automatically irrespective of the value set in the CheckSumEnabled property.)
RSSExpanded (Checksum is added automatically irrespective of the value set in the CheckSumEnabled property.)
RSSExpandedStacked (Checksum is added automatically irrespective of the value set in the CheckSumEnabled property.)
RSSLimited (Checksum is added automatically irrespective of the value set in the CheckSumEnabled property.)
CheckSumEnabled has no effect if the style is EAN-13 and the result is based on the length of the string as follows:
Under 12 digits | Barcode symbol is not generated. Error message appears on the control. |
12 digits | Check digit is calculated automatically (modulus 10/ weight 3). The barcode symbol is generated once the 13th digit is added. |
13 digits or above | Strings with 13 digits or above are ignored and check digit is calculated automatically till the 12th digit. The barcode symbol is generated once the 13th digit is added. |
C# | Copy Code |
---|---|
private void detail_Format(object sender, System.EventArgs eArgs) { this.barcode1.CheckSumEnabled = true; } |
Visual Basic | Copy Code |
---|---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format Me.Barcode1.CheckSumEnabled = True End Sub |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2