Exports the diagram as a list of images to a new HTML document.
Namespace: MindFusion.Diagramming
File: DiagramView.js
JavaScript Copy Code |
---|
function printPreview ([options]) |
Object. An object, containing customization properties, including printArea (defaults to diagram.getContentBounds()) and pageSize (defaults to diagramView.viewport).
JavaScript Copy Code |
---|
document.getElementById("printPreview").addEventListener("click", () => { |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |