ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Drawing functions
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 displayed in an Image Editor control.
Example
// Request to save the image found in an Image Editor control
IF IE_MyEditor.Save() = False THEN
Error(ErrorInfo())
END
Syntax
<Result> = <Image Editor control>.Save([<File>])
<Result>: Boolean
  • True if the image was created,
  • False otherwise (error, cancellation of file picker, ...). If an error occurs, ErrorOccurred is set to True and ErrorInfo returns the details of the error.
<Image Editor control>: Control name
Name of the Image Editor control to use.
<File>: Optional character string
Name and path of the image file to save. The file extension defines the type of image to save.
If this parameter is not specified, the action performed corresponds to the save feature of the image editor (diskette icon in the ribbon).
If the image was never saved, the file picker is displayed.
Related Examples:
WDPic type Unit examples (WINDEV): WDPic type
[ + ] This example shows how to use the WDPic WLanguage type.
Component: wd290pic.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help