AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones específicas de la Web / Funciones varias de WEBDEV
  • Displaying a PDF file in server code
  • Displaying a PDF file in browser code
FileDisplay (Example)
Displaying a PDF file in server code
WEBDEV - Código Servidor This code is used to display the MyFile.pdf file found in the _WEB directory of the current site. This code must be called from a "SUBMIT" button.
sFile is string
sFile = fWebDir() + "\MyFile.pdf"
FileDisplay(sFile, "application/pdf")
Displaying a PDF file in browser code
WEBDEV - Código Navegador This code is used to display the MyFile.pdf file found in the _WEB directory of the current site. This code must be called from a button with no server action (Operation on controls = "None")
sFile is string
sFile = FolderWeb() + "/MyFile.pdf"
FileDisplay(sFile)
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/05/2022

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