Documentation for the outdated version. Latest Aurigma Upload Suite docs

File format of the specified item of the upload list.

Syntax

Get/Set Value in Runtime

JavaScript

value = getImageUploader("ImageUploaderID").getUploadFileFormat(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

An integer value specifying a file format from the following table:

ValueDescription
0Unknown
1JPEG
2BMP
3PNG
4TIFF
5PCX
6WBMP
7GIF
8PSD
Note

Do not confuse this property with UploadFileType. File format returned through this property is determined with Image Uploader by analyzing file content (rather than the file extension). In the same time the file type is retrieved from system (determined via the file extension). This is the same string which is displayed in the Type column of the Details view.