Exports the diagram as a list of images to a new HTML document.
Namespace: MindFusion.Diagramming
Package: 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", () => { |
NetDiagram Programmer's Guide | © 2023 MindFusion |