Disabling Hyperlinks

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

To disable the hyperlinks, use the avoidLinks option.

For more information on how to disable hyperlinks with the PDF Export component, refer to its documentation.

import { drawDOM, exportPDF, DrawOptions, Group } from '@progress/kendo-drawing';
import { saveAs } from '@progress/kendo-file-saver';

export function exportElement(element, options) {
    drawDOM(element, options).then((group) => {
        return exportPDF(group);
    }).then((dataUri) => {
        saveAs(dataUri, 'export.pdf');