PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Saving the content of an Image control in JPEG format
dSaveImageJPEG (Example)
Saving the content of an Image control in JPEG format
The following code is used to save the content of an Image control (IMG_ImageDrawing) in JPEG format.
In this example, we will assume that the Image control (IMG_ImageDrawing) contains one image or several drawings.
// Save the content of the "IMG_ImageDrawing" control
ResBackup = dSaveImageJPEG(IMG_ImageDrawing, FilePath)
// Backup performed?
IF ResBackup = True THEN
Info("The backup was performed")
ELSE
Error(ErrorInfo(errMessage))
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment