Platforms to show: All Mac Windows Linux Cross-Platform

Back to ZXingReaderOptionsMBS class.

ZXingReaderOptionsMBS.binarizer as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Binarizer to use internally when using the ReadBarcode function.
Example
Var o As New ZXingReaderOptionsMBS
o.binarizer = o.BinarizerLocalAverage

Specify which algorithm to use for the grayscale to binary transformation. The difference is how to get to a threshold value T which results in a bit value R = L <= T.

Default is local average.
(Read and Write property)

ZXingReaderOptionsMBS.characterSet as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specifies fallback character set to use instead of auto-detecting it (when applicable)
Example
Var o As New ZXingReaderOptionsMBS
o.characterSet = o.CharacterSetUTF8

Default is unknown.
(Read and Write property)

ZXingReaderOptionsMBS.eanAddOnSymbol as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specify whether to ignore, read or require EAN-2/5 add-on symbols while scanning EAN/UPC codes.
Example
Var o As New ZXingReaderOptionsMBS
o.eanAddOnSymbol = o.EanAddOnSymbolRead

Default is Ignore.
(Read and Write property)

Some examples using this property:

ZXingReaderOptionsMBS.formats as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specify a set of BarcodeFormats that should be searched for, the default is all supported formats.
Example
// let's do EAN
Var o As New ZXingReaderOptionsMBS
o.formats = o.BarcodeFormatEAN13 or o.BarcodeFormatEAN8
o.eanAddOnSymbol = o.EanAddOnSymbolRead

(Read and Write property)

ZXingReaderOptionsMBS.isPure as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Set to true if the input contains nothing but a single perfectly aligned barcode (generated image)

Default is false.
(Read and Write property)

ZXingReaderOptionsMBS.maxNumberOfSymbols as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The maximum number of symbols (barcodes) to detect / look for in the image with ReadBarcodes.

Default is 255.
(Read and Write property)

ZXingReaderOptionsMBS.minLineCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The number of scan lines in a linear barcode that have to be equal to accept the result.

Default is 2.
(Read and Write property)

ZXingReaderOptionsMBS.returnCodabarStartEnd as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
If true, return the start and end chars in a Codabar barcode instead of stripping them.

Default is false.
(Read and Write property)

ZXingReaderOptionsMBS.returnErrors as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
If true, return the barcodes with errors as well (e.g. checksum errors.

Default is false.
(Read and Write property)

ZXingReaderOptionsMBS.textMode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Specifies the TextMode that controls the return of the text property.

Default is HRI.
(Read and Write property)

Some examples using this property:

ZXingReaderOptionsMBS.tryCode39ExtendedMode as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
If true, the Code-39 reader will try to read extended mode.

Default is false.
(Read and Write property)

ZXingReaderOptionsMBS.tryDownscale as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Also try detecting code in downscaled images (depending on image size).

Default is true.
(Read and Write property)

ZXingReaderOptionsMBS.tryHarder as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Spend more time to try to find a barcode; optimize for accuracy, not speed.

Default is true.
(Read and Write property)

ZXingReaderOptionsMBS.tryInvert as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Also try detecting inverted ("reversed reflectance") codes if the format allows for those.

Default is true.
(Read and Write property)

ZXingReaderOptionsMBS.tryRotate as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Also try detecting code in 90, 180 and 270 degree rotated images.

Default is true.
(Read and Write property)

ZXingReaderOptionsMBS.validateCode39CheckSum as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Assume Code-39 codes employ a check digit and validate it.

Default is false.
(Read and Write property)

ZXingReaderOptionsMBS.validateITFCheckSum as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Barcode MBS Barcode Plugin 24.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Assume ITF codes employ a GS1 check digit and validate it.

(Read and Write property)

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


The biggest plugin in space...