Adobe Creative Cloud Developer Forums
I don’t know how to fill in the third parameter of uxp resizeCanvas
Adobe XD
UXP Plugin API
kerrishotts
May 4, 2021, 2:51pm
2
Based on the docs, I believe it’s just a string.
doc.resizeCanvas(200,200,"top-right");
show post in topic
Related topics
Topic
Replies
Views
Activity
Scale with Anchor Position in UXP?
UXP Plugin API
1
652
January 18, 2021
Ps Image Resize
UXP Plugin API
javascript
3
792
March 14, 2022
New to scripting, and docs don't say enough. Can my framing action be done in UXP?
UXP Plugin API
1
308
October 28, 2020
The image size result in UXP is not the same as ps and JS
Photoshop
0
250
August 6, 2021
Allow passing null or negative number to use current value in move and resize APIs
UXP Plugin API
api-feedback
0
337
February 9, 2019