QRCode Class Reference
QRCode.prototype.add(data, label) QRCode.prototpype.download(filename) |
This class allows to generate one or more QR Code images from any string data and download them as a printable PDF document.
QRCode.prototpye.add(data, label)
adda a new QRCode
- data (string) is the vlaue to be encoded int he QR Code. it is usually serial number or iUpvise internal record id
- label (string) is an optional label to be displayed int he PDF documenr on top of the ZR Code to easily identify it
QRCode.prototpye.download(filename)
download the PDF document containing all QR Code images
- filename (string) is the filename of the generated PDF document
This class is only availabe of the web. Use the WEB() global function to tes on which platform your code executes