Franco D Achilli Posted January 15, 2020 Share Posted January 15, 2020 Hi All, Can anyone guide / help me with how to get the active visual as an image I want something similar to "Document.exportActiveVisualAsImage Method" but without download it. I need to add it to another PDF. Thank you. Link to comment Share on other sites More sharing options...
Shandilya Peddi Posted January 15, 2020 Share Posted January 15, 2020 One workaround would be to run an IronPython script instead to get the image and then add to your PDF. Following article has a sample script on how to export the image, https://community.spotfire.com/wiki/using-visualrendersync-api-export-visualization-current-theme-using-ironpython-scripting-tibco This article provides information on how to execute IronPython script using the JavaScript API Link to comment Share on other sites More sharing options...
Franco D Achilli Posted January 15, 2020 Author Share Posted January 15, 2020 Thank's for your answer. I cant run an IronPhyton script because I'm embedding Spotfire into a Reactjs app and I'm using the Spotfire Cloud. I cant use this https://community.spotfire.com/wiki/how-execute-any-ironpython-script-javascript-mashup-api-tibco-spotfirer. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now