size Number|String

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.

Example

<div id="qrCode"></div>
<script>
$("#qrCode").kendoQRCode({
  value: "http://demos.telerik.com/kendo-ui/dataviz/overview/index.html",
  size: 300
});
</script>

Example

<div id="qrCode"></div>
<script>
$("#qrCode").kendoQRCode({
  value: "http://demos.telerik.com/kendo-ui/dataviz/overview/index.html",
  size: "300px"
});
</script>
In this article
Not finding the help you need? Improve this article