Gets a horizontal resolution of the user-selected file.

Syntax

JavaScript

Get/Set Value at Runtime

value = $au.uploader('uploaderID').files().get(index).horizontalResolution();

Property Value

Type: Number

The horizontal resolution of this file (in DPI) if it is an image; otherwise, 0 is returned.