myDocument.crop( bounds, [ angle ], [ width ], [ height ], [ resolution ] ) in Photoshop DOM

crop the document

Arguments

nametypedescription
bounds Array array of four numbers
angle Number [optional]
width Number [optional]
height Number [optional]
resolution Number [optional]
Return Type
(none)