This documentation is for the old version. Go to the latest Upload Suite docs

ImageEditor.EnableCrop Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a value indicating whether it is possible to crop an image in the image editor.

Syntax

PHP
public function getEnableCrop() {
}

public function setEnableCrop($value) {
}

Property Value

Type: boolean

If true, the crop functionality is supported in the image editor; otherwise, images can only be previewed, rotated, and/or provided with a description.

Default value is true.

See Also

Reference