PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Saves the image found:
  • Versions 25 and later
    in an WDPic variable.
    New in version 25
    in an WDPic variable.
    in an WDPic variable.
Example
Versions 25 and later
MyWDPicImage is WDPic
...
// Asks to save the image
IF PicSave(MyWDPicImage, "C:\temp\test.png") = False THEN
Error(ErrorInfo())
END
New in version 25
MyWDPicImage is WDPic
...
// Asks to save the image
IF PicSave(MyWDPicImage, "C:\temp\test.png") = False THEN
Error(ErrorInfo())
END
MyWDPicImage is WDPic
...
// Asks to save the image
IF PicSave(MyWDPicImage, "C:\temp\test.png") = False THEN
Error(ErrorInfo())
END
Syntax
<Result> = PicSave(<Image> [, <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 error details.
<Image>: Name of control or WDPic variable
Image to save. This image can correspond to:
  • Versions 25 and later
    the name of a WDPic variable to use.
    New in version 25
    the name of a WDPic variable to use.
    the name of a WDPic variable to use.
<File>: Optional character string (with quotes)
Name and path of image file to save. The file extension defines the type of image to save.
If this parameter is not specified:
  • Versions 25 and later
    For a WDPic , a fatal error is displayed.
    New in version 25
    For a WDPic , a fatal error is displayed.
    For a WDPic , a fatal error is displayed.
Business / GUI classification : GUI Code
Component : wd250pic.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment