Interacting with editorsPDF APIMethodsGetFileToDownload本页总览GetFileToDownloadAsk a question 以指定格式返回要下载的当前文件。 语法 expression.GetFileToDownload(format); expression - 表示 Api 类的变量。 参数 名称必需/可选数据类型默认值描述format可选string" "需要下载文件的格式。 返回值 string 示例 window.Asc.plugin.executeMethod ("GetFileToDownload", ["pdf"], function (res) { console.log (res)});