Edit this page

renderAs String (default: "svg")

Sets the preferred rendering engine. If it is not supported by the browser, the Barcode will switch to the first available mode.

The supported values are:

  • "canvas" - renders the widget as a Canvas element, if available.
  • "svg" - renders the widget as inline SVG document, if available

Example - Render as SVG, if supported

<div id="barcode"></div>
<script>
$("#barcode").kendoBarcode({
  width: 300,
  value:"123456",
  renderAs: "svg"
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy