Disabling Hyperlinks

By default, the drawDOM method creates clickable hyperlinks in the generated PDF document.

You can disable this behavior with the avoidLinks option.

    <div id="content">
        This is <a href="http://www.telerik.com">a non-clickable link</a>.
    </div>
    <script>
        var draw = kendo.drawing;

        draw.drawDOM($("#content"), {
            avoidLinks: true,
            paperSize: "A4"
        })
        .then(function(root) {
            return draw.exportPDF(root);
        })
        .done(function(data) {
            kendo.saveAs({
                dataURI: data,
                fileName: "avoid-links.pdf"
            });
        });
    </script>

See Also

In this article
Not finding the help you need? Improve this article