How to export a rendition
This sample generates and exports a rendition of a selection, like an artboard or object, in XD as a PNG. It also demonstrates a simple way to clean up the DOM when a plugin's modal is closed.
- Select an object in an XD document
- Run Plugins > How to Export a Rendition
- Select the destination folder from the picker
- Get confirmation of save location in a modal dialog