Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets option by index.

Component Version macOS Windows Linux Server iOS SDK
Barcode 8.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Barcode.SetOption"; Index; Value )   More


Parameter Description Example
Index The index of the option.
Can be 1, 2 or 3.
Value The new value. 1


Returns OK or error.


Sets option by index.
Index can be 1, 2 or 3.

See Barcode.SetOptions for details.


Set better ECC level for QRCode:

MBS( "Barcode.SetOption"; 1; 3)

Set square option for data matrix:

MBS( "Barcode.SetOption"; 3; 100 )

See also

Release notes

Blog Entries

This function is free to use.

Created 23th February 2018, last changed 22nd February 2020

Barcode.SetInputMode - Barcode.SetOptions