Documentation for the outdated version. Latest Aurigma Upload Suite docs

Width of the image represented by the specified item of the upload list.

Syntax

Get/Set Value in Runtime

JavaScript

value = getImageUploader("ImageUploaderID").getUploadFileWidth(Index);

Parameters

Index

A positive integer which specifies an index of the upload list item (i.e. the upload file). An index is 1-based. In other words valid value is in range [1, UploadFileCount].

Property Value

A non-negative integer value that specifies width of the specified item of the upload list. If an item represents non-image, 0 is returned.