FoxitPDFSDKforWeb  8.5.0
Foxit PDF SDK for Web
DownloadFileController Class Reference

Inherits Controller.

Detailed Description

Feature:

click to download current opening PDF document .

Usage:

in template:

<download-file-button @controller="file:DownloadFileController"></download-file-button>
<contextmenu-item @controller="file:DownloadFileController"></contextmenu-item>
<xbutton @controller="file:DownloadFileController"></xbutton>

in fragment config:

new PDFUI({
fragments: [{
target: 'download-file-button',
config: {
callback: UIExtension.controllers.DownloadFileController
}
}]
});

Foxit Software Corporation Logo
@2022 Foxit Software Incorporated. All rights reserved.