myDocument.resizeCanvas( [ width ], [ height ], [ anchor ] ) in Photoshop DOM
change the size of the canvas
Arguments
name | type | description |
---|---|---|
width | Number | [optional] |
height | Number | [optional] |
anchor | AnchorPosition | [optional] |
- Return Type
- (none)