GetFileToDownload

GetFileToDownload([format]) → { string }

Returns the current file to download in the specified format.

Parameters:

Name Type Default Description
format string " "

A format in which you need to download a file.

Returns:

Type
string

Example

Copy code
window.Asc.plugin.executeMethod ("GetFileToDownload", ["pdf"], function (res) {
    console.log (res)
});