12.45. Symbology Property

Description

Returns or sets a value indicating the type of the bar code format (symbology) to be generated by the ActiveX control.

Syntax

object.Symbology[= SymbologyEnum] 

Remarks

The Barcode ActiveX currently supports the following symbologies:

Table 12.8. Symbology options

Constant Value Description
mbxCode39 0 (default) Code 39 (43 character set)
mbxCode39_Full_ASCII 1 Code 39 Full ASCII
mbxCode39_HIBC 2 Code 39 Mod 43 (Health Industry Bar Code)
mbxCodaBar 3 Codabar
mbxCode93 4 Code 93
mbxCode128 5 Code 128
mbxUCC_EAN_128 6 UCC/EAN 128
mbxInterleaved_2of5 7 Interleaved 2 of 5 (ITF25)
mbxUPC_A 8 UPC-A
mbxUPC_E 9 UPC-E
mbxEAN_13 10 EAN/JAN-13
mbxEAN_8 11 EAN/JAN-8
mbxBookland 12 Bookland
mbxTelepen 13 Telepen
mbxTelepenNumeric 14 Telepen Numeric (double density)
mbxPostnet 20 PostNET (barcode used by USPS)
mbxPlanet 21 Planet (used by USPS for package tracking)
mbxRoyalMail 22 Royal Mail (U.K. Postal)
mbxMSI_Plessey 30 MSI/Plessey
mbxCode25 31 Code 25
mbxCode11 32 Code 11
mbxPDF417 40 PDF 417 (2D symbology)
mbxDataMatrix 41 DataMatrix (2D symbology)
mbxMaxiCode 42 MaxiCode (2D symbology)

Some symbologies only encode certain limited set of characters, such as digits. Some symbologies impose limit of the data length; some require checksum characters. If you are not familiar with the symbologies you are working on, refer to Chapter 14, Barcode Technologies to get some hands-on information.

Barcode ActiveX lite version does not support creating two dimensional barcodes, such as PDF417, Data matrix and MaxiCode. Error will be returned if you set Symbology with a value that it does not support.