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

file.cropBounds Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets crop bounds of the user-selected file.

Syntax

JavaScript Get/Set Value at Runtime
$au.uploader('uploaderID').files().get(index).cropBounds(value);
value = $au.uploader('uploaderID').files().get(index).cropBounds();

Property Value

Type: Array

The crop bounds of this file in the the following format: [left,top,right,bottom].