Skip to content

QR Code

Non-Visible component
Category Requires Version
Media API 21, Android 5.0 Lollipop 1

Overview

A non-visible component that generates a QR code from text.

Permissions

Events

Got Response

You will find here the success state and image url.

Params
success Boolean
url Text

Methods

Generate Qr Code

Create a QR Code and the result is a link to it. Example: Set the resolution(in pixel) to 200(height and width has the same value) and text to: Hello world!. Result: QR code resolution is 200x200, text = Hello world! Your text input is encoded in the link automatically.

Properties

Background Color

Color Default: #FFFFFFFF  ➖ Read Write - Designer Blocks

Set the background color of the qr code result.

Charset

Available as Advanced Property

Text Default: UTF-8 ➖ Read Write - Designer Blocks

Set the charset of the input text.

Format

Text Default: png ➖ Read Write - Designer Blocks

It's possible to create the QR code picture using different file formats, available are PNG, GIF, JPEG and the vector graphic formats SVG and EPS.

Front Color

Color Default: #000000FF  ➖ Read Write - Designer Blocks

Set the color of the qr code result.

Margin

Number Default: 0 ➖ Read Write - Designer Blocks

Thickness of a margin in pixels. The margin will always have the same color as the background.

Size

Number Default: 200 ➖ Read Write - Designer Blocks

Set the size/resolution of the qr code.

Text

Text Default: Default ➖ Read Write - Designer Blocks

This is the text that is converted as qr code.


Last update: November 9, 2022