Skip to main content
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

Best answer by dvaliao

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:

View original
This topic has been closed for comments

2 replies

dvaliao
Figmate
  • Community Support
  • 4664 replies
  • Answer
  • 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:


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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings