The SaveFile attribute function saves the image as a file on the server side.
Syntax | ||||||
Save(FilePath, PictureType [,JPGQuality][, LanguageID]) | ||||||
Return value | ||||||
Type |
Description |
| ||||
Long |
0 if executed successful |
| ||||
Parameter | ||||||
Use |
Name |
Type |
Passing |
Description | ||
Required |
FilePath |
String |
ByVal |
File name | ||
Required |
PictureType |
SavePictureTypes |
ByVal |
Format of the image | ||
Optional |
JPGQuality |
Double |
ByVal |
Quality | ||
Optional |
LanguageID |
String |
ByVal |
Language-ID of the picture to be used. | ||
SavePictureTypes |
Description |
0 – enSaveBMP |
Bitmap |
1 – enSavePNG |
Portable Network Graphics |
2 – enSaveJPG |
Joint Photographics Experts Group |
3 – enSaveGIF |
Graphics Interchange Format |
4 – enSaveICO |
Icon Format |
5 – enSaveEMF |
Enhanced Metafile Format |