Skip to main content
July 17, 2024
Solved

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

  • July 17, 2024
  • 2 replies
  • 1055 views

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.
Best answer by djv

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
djvAnswer
Community Support
July 20, 2024

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:

July 25, 2024

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