|
|
|
|
|
<WDPic variable>.Save (Function) In french: <Variable WDPic>.Sauve Saves the image found in a variable of type WDPic. MyWDPicImage is WDPic ... // Asks to save the image IF MyWDPicImage.Save("C:\temp\test.png") = False THEN Error(ErrorInfo()) END
Syntax
<Result> = <WDPic image>.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.
<WDPic image>: WDPic variable Name of the WDPic variable that contains the image to use. <File>: Character string Name and path of the image file to save. The file extension defines the type of image to save.
Related Examples:
|
Unit examples (WINDEV): WDPic type
[ + ] This example shows how to use the WDPic WLanguage type.
|
Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|