Skip to main content

QR Code

Mandatory properties

The following properties are available in addition to the common label object properties.

PropertyTypeDescription
typestringMust be QRCode.
textstringBarcode data. May contain dynamic text.

Optional properties

The following properties are available in addition to the common label object properties.

PropertyTypeDescription
moduleSizenumberSize of one module in millimeters. Default is 5.
sizeintegerFixed symbol size in number of modules per side. If omitted, the minimum size that fits the text is used.
quietZonebooleanEnable or disable the required quiet zone. Default is true.
extraQuietZonenumberExtra quiet zone.
colorstringColor of the nominally dark modules. May contain dynamic text.
eccLevelstringError correction level. Allowed values: L, M, Q, H. Default is L.

Example

{
"type": "QRCode",
"x": 10.0,
"y": 70.0,
"text": "Hello, world!",
"moduleSize": 2.0
}