Methods
Programmatic API methods — export, insert images, detect orientation, and deselect annotations.
Methods API
Programmatic methods available on the component ref for imperative control.
exportPdf()
Export the annotated PDF as a Blob with all annotations baked in.
insertImage()
Programmatically insert an image with positioning, sizing, and interaction options.
isPortrait()
Determine whether a page has portrait or landscape orientation.
deselectAll()
Programmatically deselect all currently selected annotations.
