GetFileToDownload
Returns the current file to download in the specified format.
Syntax
expression.GetFileToDownload(format);
expression
- A variable that represents a Api class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
format | Optional | string | " " | A format in which you need to download a file. |
Returns
string
Example
window.Asc.plugin.executeMethod ("GetFileToDownload", ["pdf"], function (res) {
console.log (res)
});