PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Saves the image present in an Variable of type WDPic.
Example
MonImageWDPic est un WDPic
...
// Demande de sauvegarde de l'image
SI MonImageWDPic.Sauve("C:\temp\test.png") = Faux ALORS
Erreur(ErreurInfo())
FIN
Syntax
<Result> = <WDPic image>.Save(<File>)
<Result>: Boolean
  • True if the image was created,
  • False otherwise (error, cancelation of file picker, ...). If an error occurs, ErrorOccurred is set to True and ErrorInfo returns the details of the error.
<WDPic image>: WDPic variable
Name of the WDPic variable that contains the image to use.
<File>: Character string
Name and path of image file to save. The file extension defines the type of image to save.
Related Examples:
WDPic type Unit examples (WINDEV): WDPic type
[ + ] This example shows how to use the WDPic WLanguage type.
Business / UI classification: UI Code
Component: wd270pic.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment