.. _Document.crop: ================================================ Document.crop ================================================ void **crop** (:ref:`UnitRect` **bounds**, :ref:`number` **angle**, :ref:`UnitValue` **width**, :ref:`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.