Skip to main content
Inspiring
July 4, 2022
Answered

"Use Artboards" option in SDK

  • July 4, 2022
  • 1 reply
  • 498 views

Hello,

 

Can someone tell me if the "Use Artboards" checkbox option which is used when exporting/saving is supported in the SDK/Suites? If so, where can I find it?

 

Regards,

This topic has been closed for replies.
Correct answer Kazon23752888nou4

I never found the answer to how to access the "Use Artboards" option from the SDK for a C++ plugin. But I did find a solution to what was the actual problem for me. Which was getting my final image to be exported to the dimensions of the artboard and not the artwork.

1 reply

GerssonDelgado
Inspiring
July 4, 2022
options.saveMultipleArtboards = true;
Inspiring
July 4, 2022

@GerssonDelgado ... My very bad. I see that I should have been a lot more specific. I'm actually working on a plugin in C++, so the SDK I'm referring to is not for javaScript (.jsx).

 

To be clear, the reason that I was looking for that option is because my exporting to images is a bit off. I have artboards that contain the artwork as an example created 150 x 150 (w x h). The artwork is padded 2px all around and works out to a scale of 148 x 148. When I export the image, I was expecting that it used the artboard's w x h, however, it is exported at the artwork's wx h. So I was thinking that using the "Use Artboards" option would help me.

 

Regards,

Kazon23752888nou4AuthorCorrect answer
Inspiring
July 5, 2022

I never found the answer to how to access the "Use Artboards" option from the SDK for a C++ plugin. But I did find a solution to what was the actual problem for me. Which was getting my final image to be exported to the dimensions of the artboard and not the artwork.