Export & Print
Generate downloadable versions of documents or trigger browser-native print flows.
File Export allows your application to command the viewer to generate a persistent version of the current session. This includes all active markups, measurements, and annotations.
The process is asynchronous: you dispatch an export request, and the viewer notifies your application when the file is ready for download.
- Asynchronous Processing: High-speed document generation without blocking the UI.
- Markup Integration: Exported files include all interactive annotations and measurements.
- Secure URLs: Receive temporary, direct-download links for the resulting files.
Trigger an export and handle the completion event.
Request export
Handle exportComplete
Document generation follows a command-event pattern. You initiate the process from your application, and the viewer responds with the resulting file link.
1. Host Requests Export
Send the export message to the viewer to start the document generation process.
2. Viewer Returns Link
The viewer emits the exportComplete event once the file is ready for download.
Printing allows users to generate a high-quality print preview of the active document with all markups and annotations rendered.
- Browser Native: Triggers the standard browser print dialog for the current document view.
- Wysiwyg: Marks up and annotations are preserved exactly as shown on the canvas.
Request Print
Request an export and open the resulting file when it is ready.
Try the interactive preview below to generate an export and capture the completion event.
Interactive Workbench
File export preview
Trigger an export and review the resulting file URL as soon as it is ready.
Explore related file workflows and payload references.
- Viewer Setup: Canvas Iframe Initialization
- File Upload: File Upload
- File API: API References
