ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE


HSL
RGB
  • Saving the content of an Image control in GIF format
dSaveImageGIF (Example)
Saving the content of an Image control in GIF format
The following code is used to save the content of an Image control (IMG_ImageDrawing) in GIF 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
ResSave = dSaveImageGIF(IMG_ImageDrawing, FilePath)
// Saved successfully?
IF ResSave = True THEN
Info("Saved successfully")
ELSE
  Error(ErrorInfo(errMessage))
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment