Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

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
Example:
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.

Feedback, Comments & Corrections




Links
MBS FileMaker tutorial videos