Export & Print
Generate downloadable versions of documents or trigger browser-native print flows.
File Export allows your application to command the canvas 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 canvas 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 active annotations and measurements burned into the document.
- Secure URLs: Receive temporary, direct-download links for the resulting files.
Trigger an export and open the resulting file:
Document generation follows an asynchronous request-completion pattern inside the SDK:
1. Host Requests Export
The host application invokes the export method on the viewer documents surface.
2. Canvas Returns Link
The canvas completes rendering and returns the direct-download URL in the promise result.
Printing allows users to generate a high-quality print preview of the active document with all markups and annotations rendered using the browser-native print layout.
- Browser Native: Triggers the standard browser print dialog for the current document view.
- WYSIWYG: Markups and annotations are preserved exactly as shown on the canvas.
Copy these project setup files to configure mounting, document loading, printing and export hooks:
Trigger document print and async exports inside a React hook lifecycle component:
Trigger document print and async exports inside a Vue Composition template:
Trigger document print and async exports inside an Angular template structure:
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.
- Canvas Setup: Canvas Iframe Initialization
- File Upload: File Upload
- File API: API References
