Methods
Screenshot
captureScreenshot
takes a screenshot of the viewer in png format example usage const options = { width 1024, height 768 }; const imagedatapromise = viewer2d capturescreenshot(options); parameters options options for the screenshot true 330,331left unhandled content type left unhandled content type left unhandled content type left unhandled content type properties true 165,106,115 46827794561932,274 5317220543807left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type return value promise that resolves to the base64 encoded string of the png image true 661left unhandled content type left unhandled content type