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
The class for reader options.

Default is true for tryHarder, tryRotate, tryInvert, tryDownscale, 3 for downscaleFactor, EanAddOnSymbol is ignore, binarizer is local average and text mode is HRI.

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

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:

Some examples using this class:

Some related classes:


The items on this page are in the following plugins: MBS Barcode Plugin.


ZStdMBS   -   ZXingReaderResultMBS


The biggest plugin in space...