Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to show a PDF file to the user in a Web Application?
Answer: You can use a WebHTMLViewer control and load the
dim CurrentFile as WebFile // a property of the WebPage

// define the PDF file
CurrentFile = new WebFile
CurrentFile.Filename = "test.pdf"
CurrentFile.MIMEType = "application/pdf"
CurrentFile.Data = "some pdf data" // MyDynaPDF.GetBuffer

// load into html viewer
HTMLViewer1.URL = CurrentFile.URL
Notes: See our Create PDF example for the Xojo Web Edition.

💬 Ask a question or report a problem
The biggest plugin in space...

Start Chat