Skip to main content
Jul 17, 2024 11:47 PM UTC
Solved

Need to export all of a frames contents to png, not just the contents in it's viewport

I have a frame which contains content which is twice the height of the frame, with vertical scrolling enabled for overflowing content.

Using the rest API, I want to be able to export the frames entire contents as an image, not just the contents visible in the frames bounds. I have tried various combinations of the documented ‘use_absolute_bounds’ and ‘contents_only’ parameters with no luck, the exported image is always cropped to the dimensions of the frame. Any ideas?

Many thanks

This topic has been closed for replies.
djv
djvSolution
Community Support
Jul 20, 2024 12:28 AM UTC

Hey @Damon_Simmonds, thanks for reaching out and sorry for the trouble!

Right now, this is expected behavior. It’s not possible to export a scrollable frame’s contents. Exporting will exclude any objects in the exported frame that are outside its frame.

This is on our radar for future improvement though:

2 replies

djv
Figmate
djvSolution
Community Support
Jul 20, 2024 12:28 AM UTC

Hey @Damon_Simmonds, thanks for reaching out and sorry for the trouble!

Right now, this is expected behavior. It’s not possible to export a scrollable frame’s contents. Exporting will exclude any objects in the exported frame that are outside its frame.

This is on our radar for future improvement though:

Jul 25, 2024 10:45 PM UTC

@dvaliao Thanks very much for the response. Keen for this!