From Xojo Documentation

Revision as of 17:28, 15 November 2010 by Dbrandt (talk | contribs) (added Forcedownload)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aWebFile.ForceDownload = newBooleanValue
BooleanValue = aWebFile.ForceDownload

New in 2010r5

Supported for all project types and targets.

ForceDownload defaults to False. If True, the content will always be downloaded to the user’s computer rather than displayed in the browser. For example, a PDF document would traditionally be displayed in the browser. By setting ForceDownload to True, the PDF would instead be downloaded to disk.