Document.crop

void crop (UnitRect bounds, Number angle, UnitValue width, UnitValue height)

Parameters

bounds The area to crop.
angle The angle of cropping bounds.
width The width of the resulting document.
height The height of the resulting document.

Description

Crops the document.