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:
Value | Description |
---|---|
0 | Unknown |
1 | JPEG |
2 | BMP |
3 | PNG |
4 | TIFF |
5 | PCX |
6 | WBMP |
7 | GIF |
8 | PSD |
![]() |
---|
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 |
See Also
Reference
UploadFileAngle PropertyUploadFileCount Property
UploadFileCountChange Event
UploadFileDescription Property
UploadFileFocused Property
UploadFileGuid Property
UploadFileHeight Property
UploadFileHorizontalResolution Property
UploadFileName Property
UploadFileRemove Method
UploadFileSelected Property
UploadFileSize Property
UploadFileType Property
UploadFileVerticalResolution Property
UploadFileWidth Property
Index Property