Platforms to show: All Mac Windows Linux Cross-Platform
ZXingReaderOptionsMBS class
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Barcode | MBS Barcode Plugin | 24.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is true for tryHarder, tryRotate, tryInvert, tryDownscale, 3 for downscaleFactor, EanAddOnSymbol is ignore, binarizer is local average and text mode is HRI.
- 16 properties
- property binarizer as Integer
- property characterSet as Integer
- property eanAddOnSymbol as Integer
- property FormatNames as String New in 26.2
- property isPure as Boolean
- property maxNumberOfSymbols as Integer
- property minLineCount as Integer
- property returnErrors as Boolean
- property textMode as Integer
- property tryCode39ExtendedMode as Boolean
- property tryDownscale as Boolean
- property tryHarder as Boolean
- property tryInvert as Boolean
- property tryRotate as Boolean
- property validateCode39CheckSum as Boolean
- property validateITFCheckSum as Boolean
- 3 methods
- method Constructor
- method formats as Integer() New in 26.2
- method setFormats(values() as Integer) New in 26.2
- 54 shared methods
- shared method BarcodeFormatAll as Integer New in 26.2
- shared method BarcodeFormatAllCreatable as Integer New in 26.2
- shared method BarcodeFormatAllGS1 as Integer New in 26.2
- shared method BarcodeFormatAllIndustrial as Integer New in 26.2
- shared method BarcodeFormatAllLinear as Integer New in 26.2
- shared method BarcodeFormatAllMatrix as Integer New in 26.2
- shared method BarcodeFormatAllReadable as Integer New in 26.2
- shared method BarcodeFormatAllRetail as Integer New in 26.2
- shared method BarcodeFormatAztec as Integer New in 26.2
- shared method BarcodeFormatAztecCode as Integer New in 26.2
- shared method BarcodeFormatAztecRune as Integer New in 26.2
- shared method BarcodeFormatCodabar as Integer New in 26.2
- shared method BarcodeFormatCode128 as Integer New in 26.2
- shared method BarcodeFormatCode32 as Integer New in 26.2
- shared method BarcodeFormatCode39 as Integer New in 26.2
- shared method BarcodeFormatCode39Ext as Integer New in 26.2
- shared method BarcodeFormatCode39Std as Integer New in 26.2
- shared method BarcodeFormatCode93 as Integer New in 26.2
- shared method BarcodeFormatCompactPDF417 as Integer New in 26.2
- shared method BarcodeFormatDataBar as Integer New in 26.2
- shared method BarcodeFormatDataBarExp as Integer New in 26.2
- shared method BarcodeFormatDataBarExpStk as Integer New in 26.2
- shared method BarcodeFormatDataBarLtd as Integer New in 26.2
- shared method BarcodeFormatDataBarOmni as Integer New in 26.2
- shared method BarcodeFormatDataBarStk as Integer New in 26.2
- shared method BarcodeFormatDataBarStkOmni as Integer New in 26.2
- shared method BarcodeFormatDataMatrix as Integer New in 26.2
- shared method BarcodeFormatDXFilmEdge as Integer New in 26.2
- shared method BarcodeFormatEAN13 as Integer New in 26.2
- shared method BarcodeFormatEAN2 as Integer New in 26.2
- shared method BarcodeFormatEAN5 as Integer New in 26.2
- shared method BarcodeFormatEAN8 as Integer New in 26.2
- shared method BarcodeFormatEANUPC as Integer New in 26.2
- shared method BarcodeFormatFromString(BarcodeFormat as String) as Integer New in 26.2
- shared method BarcodeFormatISBN as Integer New in 26.2
- shared method BarcodeFormatITF as Integer New in 26.2
- shared method BarcodeFormatITF14 as Integer New in 26.2
- shared method BarcodeFormatMaxiCode as Integer New in 26.2
- shared method BarcodeFormatMicroPDF417 as Integer New in 26.2
- shared method BarcodeFormatMicroQRCode as Integer New in 26.2
- shared method BarcodeFormatNone as Integer New in 26.2
- shared method BarcodeFormatOtherBarcode as Integer New in 26.2
- shared method BarcodeFormatPDF417 as Integer New in 26.2
- shared method BarcodeFormatPZN as Integer New in 26.2
- shared method BarcodeFormatQRCode as Integer New in 26.2
- shared method BarcodeFormatQRCodeModel1 as Integer New in 26.2
- shared method BarcodeFormatQRCodeModel2 as Integer New in 26.2
- shared method BarcodeFormatRMQRCode as Integer New in 26.2
- shared method BarcodeFormatsFromString(BarcodeFormats as String) as Integer() New in 26.2
- shared method BarcodeFormatsToString(BarcodeFormats() as Integer) as String New in 26.2
- shared method BarcodeFormatToString(BarcodeFormat as Integer) as String New in 26.2
- shared method BarcodeFormatUPCA as Integer New in 26.2
- shared method BarcodeFormatUPCE as Integer New in 26.2
- shared method supportedFormats as Integer() New in 26.2
- 46 constants
Binarizer Modes
| Constant | Value | Description |
|---|---|---|
| BinarizerBoolCast | 3 |
T = 0, fastest possible |
| BinarizerFixedThreshold | 2 |
T = 127 |
| BinarizerGlobalHistogram | 1 |
T = valley between the 2 largest peaks in the histogram (per line in linear case) |
| BinarizerLocalAverage | 0 |
T = average of neighboring pixels for matrix and GlobalHistogram for linear (HybridBinarizer) |
Character Sets
| Constant | Value | Description |
|---|---|---|
| CharacterSetASCII | 1 |
ASCII |
| CharacterSetBig5 | 23 |
Big5 |
| CharacterSetBinary | 33 |
Binary |
| CharacterSetCp1250 | 18 |
Cp1250 |
| CharacterSetCp1251 | 19 |
Cp1251 |
| CharacterSetCp1252 | 20 |
Cp1252 |
| CharacterSetCp1256 | 21 |
Cp1256 |
| CharacterSetCp437 | 17 |
Cp437 |
| CharacterSetEUC_JP | 26 |
EUC_JP |
| CharacterSetEUC_KR | 27 |
EUC_KR |
| CharacterSetGB18030 | 25 |
GB18030 |
| CharacterSetGB2312 | 24 |
GB2312 |
| CharacterSetISO8859_1 | 2 |
ISO8859_1 |
| CharacterSetISO8859_10 | 11 |
ISO8859_10 |
| CharacterSetISO8859_11 | 12 |
ISO8859_11 |
| CharacterSetISO8859_13 | 13 |
ISO8859_13 |
| CharacterSetISO8859_14 | 14 |
ISO8859_14 |
| CharacterSetISO8859_15 | 15 |
ISO8859_15 |
| CharacterSetISO8859_16 | 16 |
ISO8859_16 |
| CharacterSetISO8859_2 | 3 |
ISO8859_2 |
| CharacterSetISO8859_3 | 4 |
ISO8859_3 |
| CharacterSetISO8859_4 | 5 |
ISO8859_4 |
| CharacterSetISO8859_5 | 6 |
ISO8859_5 |
| CharacterSetISO8859_6 | 7 |
ISO8859_6 |
| CharacterSetISO8859_7 | 8 |
ISO8859_7 |
| CharacterSetISO8859_8 | 9 |
ISO8859_8 |
| CharacterSetISO8859_9 | 10 |
ISO8859_9 |
| CharacterSetShift_JIS | 22 |
Shift_JIS |
| CharacterSetUnknown | 0 |
Unknown encoding |
| CharacterSetUTF16BE | 28 |
UTF16BE |
| CharacterSetUTF16LE | 30 |
UTF16LE |
| CharacterSetUTF32BE | 31 |
UTF32BE |
| CharacterSetUTF32LE | 32 |
UTF32LE |
| CharacterSetUTF8 | 29 |
UTF8 |
EAN Add-on Symbol Handling
| Constant | Value | Description |
|---|---|---|
| EanAddOnSymbolIgnore | 0 |
Ignore any Add-On symbol during read/scan |
| EanAddOnSymbolRead | 1 |
Read EAN-2/EAN-5 Add-On symbol if found |
| EanAddOnSymbolRequire | 2 |
Require EAN-2/EAN-5 Add-On symbol to be present |
Text Modes
| Constant | Value | Description |
|---|---|---|
| TextModeECI | 1 |
standard content following the ECI protocol with every character set ECI segment transcoded to unicode |
| TextModeEscaped | 4 |
Use the EscapeNonGraphical() function (e.g. ASCII 29 will be transcoded to "<GS>") |
| TextModeHex | 3 |
bytes() transcoded to ASCII string of HEX values |
| TextModeHRI | 2 |
Human Readable Interpretation (dependent on the ContentType) |
| TextModePlain | 0 |
bytes() transcoded to unicode based on ECI info or guessed charset (the default mode prior to 2.0) |
This class has no sub classes.
Blog Entries
- MBS Xojo Plugins, version 26.2pr2
- News from the MBS Xojo Plugins Version 24.4
- Read barcodes with newer zxing classes
Release notes
- Version 26.2
- Removed returnCodabarStartEnd property and hasFormat method from ZXingReaderOptionsMBS class.
- Added new barcode formats for ZXingReaderOptionsMBS class.
- Added setFormats, formats and supportedFormats methods for ZXingReaderOptionsMBS class.
Some methods using this class:
- ZxingBarcodeMBS.ReadBarcode(Pic as Picture, Options as ZXingReaderOptionsMBS = nil) as ZXingReaderResultMBS
- ZxingBarcodeMBS.ReadBarcodes(Pic as Picture, Options as ZXingReaderOptionsMBS = nil) as ZXingReaderResultMBS()
Some examples using this class:
Some related classes:
The items on this page are in the following plugins: MBS Barcode Plugin.
ZStdMBS - ZXingReaderResultMBS