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", () => { |
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |