Randy Maxwell Posted January 12, 2021 Share Posted January 12, 2021 I have been struggling to export a complex map to PowerPoint. Using File -> Export -> To Microsoft PowerPoint, the legend looks great but in the map image, the map makers and labels get fuzzy as the map becomes complex. (See slide 1 in the attached ppt.) Using File -> Export -> To Microsoft PowerPoint -7.11 version [Depreciated], the map image improves slightly but the legend deteriorates. (Slide 2) I have written a Python script to export to ppt and I can get a great map image, but the legend is poor. (Slide 3) Usingfile -> Export -> Visualization to image give me results similar to export to ppt. (Slide 4) Currently, weexport to pdf, open the pdf in full-screen mode, create a screen capture, and paste the screen capture into the ppt, but his process requires too many steps to be reliable. A python script would be ideal as I anticipate multiple revisions of many maps. Is there a solution that yields both good quality map imagesand legends Link to comment Share on other sites More sharing options...
Tejas Devadkar Posted January 14, 2021 Share Posted January 14, 2021 Can you try to use the belowRenderAsync API to export the Page or the Visualiaiton as an image if you get the quality you are looking for. https://community.spotfire.com/wiki/how-render-page-image-tibco-spotfirer-using-ironpython-scripting https://community.spotfire.com/wiki/using-visualrendersync-api-export-visualization-current-theme-using-ironpython-scripting-tibco TIBCO Spotfire 7.12 - APIs for exporting and rendering visualizations https://community.spotfire.com/wiki/tibco-spotfirer-712-apis-exporting-and-rendering-visualizations As such there is no direct public API to export to PPT There is already an existing enhancement for this on the Ideas Portal. We request you to vote for the same. https://ideas.tibco.com/ideas/SPF-I-3903 Link to comment Share on other sites More sharing options...
Randy Maxwell Posted January 14, 2021 Author Share Posted January 14, 2021 That fixed the problem. I was using the render() method of MapChart objects and VisualContent objects. I knew these were obsolete but there were no replacement methods in either object. I failed to look at the visual object and never saw the RenderAsync() method. 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