AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de dibujo
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Saves the image found:
  • WINDEV in an Image Editor control.
  • in a variable of type WDPic.
Ejemplo
WINDEV
// Request to save the image found in an Image Editor control
IF PicSave(IE_MyEditor) = 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
Sintaxis
<Result> = PicSave(<Image> [, <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>: Control name or WDPic variable
Image to save. This image can correspond to:
  • WINDEV the name of the Image Editor to use.
  • the name of the WDPic variable 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:
  • WINDEV In the case of an Image Editor control: the action taken corresponds to the Record function of the Image Editor (click on the floppy disk in the Ribbon).
    If the image was never saved, the file picker is displayed.
  • For a variable of type WDPic , a fatal error is displayed.
Clasificación Lógica de negocio / UI: Código UI
Componente: wd300pic.dll
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local