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
Ps Image Resize
UXP Plugin API
javascript
3
765
March 14, 2022
Plugin resize via JS
UXP Plugin API
javascript
4
681
May 23, 2023
How can I set document zoom
UXP Plugin API
javascript
0
438
August 19, 2021
Alchemist Plugin Question
UXP Plugin API
10
955
November 1, 2020
Simple Crop script question?
Photoshop
6
1006
December 6, 2021