Platforms to show: All Mac Windows Linux Cross-Platform
Back to BarcodeGeneratorMBS class.
BarcodeGeneratorMBS.Constructor
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Barcode | MBS Barcode Plugin | 13.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
BarcodeGeneratorMBS.Destructor
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Barcode | MBS Barcode Plugin | 13.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
BarcodeGeneratorMBS.Encode(text as string, width as single = 0, height as single = 0, RotationAngle as Integer = 0)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Barcode | MBS Barcode Plugin | 13.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If width is zero, we use automatic width.
If height is zero, we use automatic height. Default height for some 2D bars is 30 units.
RotationAngle can be 0, 90, 180 or 270.
You can set options before calling and query other properties (like picture after this)
For the size, be aware that some types like UPC codes have fixed size depending on content. Or the size class for QRCode is calculated based on the text length.
BarcodeGeneratorMBS.SVG as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Barcode | MBS Barcode Plugin | 16.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Lasterror and ErrorText are set.
BarcodeGeneratorMBS.WritePS(path as string) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Barcode | MBS Barcode Plugin | 14.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns error code. Lasterror and ErrorText is also set.
File path should be ASCII only (other characters not guaranteed) and maybe point to temp file somewhere.
Some examples using this method:
BarcodeGeneratorMBS.WriteSVG(path as string) as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Barcode | MBS Barcode Plugin | 14.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns error code. Lasterror is set.
ErrorText is also set.
File path should be ASCII only (other characters not guaranteed) and maybe point to temp file somewhere.
Some examples using this method:
The items on this page are in the following plugins: MBS Barcode Plugin.