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

ExportSVG

methods

Exports the QRCode as an SVG document. The result can be saved using kendo.saveAs.

The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.

Returns:Promise

A promise that will be resolved with a SVG document encoded as a Data URI.

<div id="qrCode"></div>
<script>
    $("#qrCode").kendoQRCode({
        value: "mailto:clientservice@kendoui.com"
    });

    var qrCode = $("#qrCode").getKendoQRCode();
    qrCode.exportSVG().done(function(data) {
        kendo.saveAs({
            dataURI: data,
            fileName: "QRCode.svg"
        });
    });
</script>
Not finding the help you need?
Contact Support