SaveFile

concerns

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
Default: 90%

Optional

LanguageID

String

ByVal

Language-ID of the picture to be used.
If the parameter is omitted, the image of the current language is 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