Kendo.Mvc.UI.QRCode

Kendo UI QRCode component

Properties

Background

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

Border

The border of the QR code.

Color

The color of the QR code. Accepts a valid CSS color string, including hex and rgb.

Padding

Sets the minimum distance in pixels that should be left between the border and the QR modules.

RenderAs

Sets the preferred rendering engine. If it is not supported by the browser, the QRCode will switch to the first available mode.The supported values are: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available.

Size

Specifies the size of a QR code in pixels (i.e. "200px"). Numeric values are treated as pixels. If no size is specified, it will be determined from the element width and height. In case the element has width or height of zero, a default value of 200 pixels will be used.

Value

The value of the QRCode.

Encoding

Specifies a QR code encoding mode.

ErrorCorrection

Specifies a QR code error correction level.

Methods

SerializeSettings

Serialize current instance to Dictionary