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 / Funciones específicas para móviles / Funciones URI
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 contents of a buffer to a resource identified by its URI.
Ejemplo
// Ouvre le sélecteur de ressource en mode création
uriDocImage is URI = URISélecteur(uriImage, uriCreate)
IF NOT ErrorOccurred THEN
	// Sauvegarde le contenu du buffer contenant l'image dans le document créé 
	BufferToURI(bufImage, uriDocImage)
END
Sintaxis
<Result> = BufferToURI(<Buffer to use> , <Destination URI> [, <Mode>])
<Result>: Boolean
  • True if saved successfully,
  • False otherwise.
If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo.
<Buffer to use>: Buffer
Buffer corresponding to the content to be saved in the resource (identified by its URI).
<Destination URI>: Character string or URI variable
URI of the resource to which the file should be saved. This resource can be identified:
  • by a string corresponding to a URI,
  • by a variable of type URI.
Note: The specified URI must be of type "file" (external file) or "content" (resource from a content provider) and be writable.
<Mode>: Optional Integer constant
Backup mode:
uriAddThe contents of the buffer are added at the end of the initial contents of the resource.
uriCreate
(Default value)
The initial contents of the resource are replaced by the contents of the buffer.
Observaciones
To select a resource and get its URI, use URISelect.
Clasificación Lógica de negocio / UI: Código UI
Versión mínima requerida
  • Versión 27
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

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