Barcode Xpress for Linux v13.1 - Updated
BarcodeType
API Reference > BarcodeXpress.py Reference > BarcodeXpress.py Classes Reference > BarcodeType

A static class that contains BX Barcode Types.

Analyze Functions in this module accept a list of integers which correspond to barcode types. This class contains a number of static members which contain the relevant integers:

Three composite members that represent multiple barcode types simultaneously are also included:

You can search for any single barcode type or a combination of barcode types. If you specify multiple barcodes types and one of them is Unknown, then only the explicitly specified types will be searched, and not all the other types included in Unknown. The same applies to PatchCode; if you search for PatchCode and any other type, only the other types will be searched. PatchCode must be the only specified type if you wish to search for it.

This class also includes a Names member which maps the barcode type names to the integers so that they can be looked up from their names programmatically.