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