Skip to main content
Solved

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

  • July 17, 2024
  • 2 replies
  • 636 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

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:

This topic has been closed for replies.

2 replies

djv
Figmate
  • Community Support
  • 5239 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!