Platforms to show: All Mac Windows Linux Cross-Platform

Back to BarcodeGeneratorMBS class.

BarcodeGeneratorMBS.EANChecksum(text as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Barcode MBS Barcode Plugin 15.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Calculates checksums for EAN.
Example
// returns "3" for 12 digit EAN:
MsgBox BarcodeGeneratorMBS.EANChecksum("425098421626")

Returns checksum character.

For EAN 8, please use UPCChecksum function.

BarcodeGeneratorMBS.FilterSwissQRCode(text as String, AllowEndOfLine as boolean = false) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Barcode MBS Barcode Plugin 25.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Filters characters for Swiss QR code for payments.
Example
Var s As String = "Hello World ≤ «∑€®†Ω 日本国"
Var t As String = BarcodeGeneratorMBS.FilterSwissQRCode(s)

// shows Hello World <= «€®
MessageBox t

We pass through allowed characters

  • Basic-Latin (Unicodepoint U+0020 - U+007E)
  • Latin1-Supplement (Unicodepoint U+00A0 - U+00FF)
  • Latin Extended-A (Unicodepoint U+0100 - U+017F)
And these individual characters
  • Ș - (LATIN CAPITAL LETTER S WITH COMMA BELOW, Unicodepoint U+0218)
  • ș - (LATIN SMALL LETTER S WITH COMMA BELOW, Unicodepoint U+0219)
  • Ț - (LATIN CAPITAL LETTER T WITH COMMA BELOW, Unicodepoint U+021A)
  • ț - (LATIN SMALL LETTER T WITH COMMA BELOW, Unicodepoint U+021B)
  • € - (EURO SIGN, Unicodepoint U+20AC)
For other characters, we try to translate them to allowed characters, e.g ¼ is changed to 1/4.

If AllowEndOfLine is true, we pass through Char(13) for newline characters.

BarcodeGeneratorMBS.ISBNChecksum(text as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Barcode MBS Barcode Plugin 15.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Calculates checksums for ISBN 10 and 13.
Example
// returns 6 for 9 digit ISBN:
MsgBox BarcodeGeneratorMBS.ISBNChecksum("074755100")

Returns checksum character.

BarcodeGeneratorMBS.LibVersion as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Barcode MBS Barcode Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Queries zint library version.

e.g. "2.6.3"

BarcodeGeneratorMBS.UPCChecksum(text as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Barcode MBS Barcode Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Calculates UPC checksum.
Example
Var s as string = "24796"
MsgBox BarcodeGeneratorMBS.UPCChecksum(s)

String must contain numbers.

BarcodeGeneratorMBS.ValidSymbologyID(ID as Integer) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Barcode MBS Barcode Plugin 13.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether this Symbology ID is valid.

Returns true on success or false on failure.

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


The biggest plugin in space...