Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Assigns this web viewer our download delegate.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebDownloadDelegate | 2.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. Only needed for WebKit 1! |
Optional |
Returns OK on success or error.
Makes sure all PDF files are downloaded:
MBS( "WebDownloadDelegate.Install" ; "web" )
MBS( "WebPolicyDelegate.AddMimeType"; "application/pdf"; "download" )
Install for WebKit 2:
# must run before web viewer is created
Set Variable [ $r ; Value: MBS("WebDownloadDelegate.Install") ]
This function checks for a license.
Created 18th August 2014, last changed 26th August 2023
WebDownloadDelegate.GetFolder - WebDownloadDelegate.MIMEType