New to Kendo UI for AngularStart a free 30-day trial

QRCodeOptions

Provides the QR Code options.

NameTypeDefaultDescription

background?

string

"white"

Sets the background color of the QR Code. Accepts a valid CSS color string, including hex and rgb.

border?

Border

Sets the border of the QR Code.

color?

string

"black"

Sets the color of the QR Code. Accepts a valid CSS color string, including hex and rgb.

encoding?

QRCodeEncoding

"ISO_8859_1"

Sets the encoding mode used to encode the value.

Important The UTF-8 encoding is not included in the specifications and is not supported by all readers.

errorCorrection?

QRCodeErrorCorrection

"L"

Sets the error correction level to use.

overlay?

QRCodeOverlay

Sets an optional image overlay that is placed over the QR Code.

Note Always test if the code reads correctly with the applied overlay. Depending on the length of the value and the size of the overlay, you might need to raise the errorCorrection level to "M" or "H".

padding?

number | Padding

0

Sets the padding of the QR Code. A numeric value sets all paddings.

renderAs?

RenderMode

"svg"

Sets the preferred rendering mode of the QR Code.

size?

string | number

"200px"

Sets the size of a QR Code. Numeric values are treated as pixels.

If you do not specify a size, the size is determined from the element width and height. If the element has width or height of zero, a default value of 200 pixels is used.

value

string | number

Sets the value of the QR Code.

Not finding the help you need?
Contact Support