TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

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)
});