Article Preview
Buy Now
FEATURE
Creating Barcodes in Xojo
How you can create more than 80 different types of barcodes in Xojo
Issue: 17.4 (July/August 2019)
Author: Stefanie Juchmes
Author Bio: Stefanie studied computer science at the university in Bonn. She came in touch with Xojo due to the work of her brother-in-law and got a junior developer position in early 2019 at Monkeybread Software.
Article Description: No description available.
Article Length (in bytes): 12,739
Starting Page Number: 36
Article Number: 17405
Related Link(s): None
Excerpt of article text...
Today many companies use barcodes because it makes work faster. With the MBS Barcode Plugin for Xojo, more than 80 different types of barcodes in 1D and 2D can be generated, which can be processed as an image and even placed on an existing image.
Another possibility is to save the images in a container or in a file. With the MBS DynaPDF Plugin functions, the barcode can even be output as a vector graphic in a PDF (see Figure 1).
Barcode as Image
The
BarcodeGeneratorMBS
class is used to generate a barcode. You can set various options for the barcode and then call theencode
function to create the barcode. With properties for the picture and vector graphics, you can read the final image for the barcode.With this code example you can generate a QRCode (see Figure 2) and save it in a file:
...End of Excerpt. Please purchase the magazine to read the full article.