Gets or sets the conversion mode of the thumbnail.
Namespace:
Aurigma.ImageUploaderFlash
Assembly:
Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)
public string Mode { get; set; }
Type: System..String
The conversion mode of the thumbnail.
Default value is "*.*=SourceFile".
This property specifies a format string for a desired conversion mode. It consists of masks=mode
pairs separated by semicolon. Each pair
includes a set of file masks separated by comma and a corresponding mode. In general, this string has the following syntax:
mask11,mask12,...=mode1;mask21,mask22,...=mode2;...
When HTML5/Flash Uploader prepares the upload request, it parses the conversion mode format string from the beginning to the end and extracts such pairs. For each file selected for upload HTML5/Flash Uploader gives the first pair. If it finds a file mask in this pair which matches the file extension, it applies a corresponding mode. If no appropriate file mask found, HTML5/Flash Uploader checks the next pairs in the same way.
If there is no file mask corresponding to the original file extension or appropriate mode HTML5/Flash Uploader does not send this converted file.
This is a list of supported conversion modes: