I don’t know how to fill in the third parameter of uxp resizeCanvas

Based on the docs, I believe it’s just a string.

doc.resizeCanvas(200,200,"top-right");