跳到主要内容

SetCustomFunctions

更新本地自定义函数库。

语法

expression.SetCustomFunctions(jsonString);

expression - 表示 Api 类的变量。

参数

名称必需/可选数据类型默认值描述
jsonString必需stringJSON 格式的自定义函数库。

返回值

此方法不返回任何数据。

示例

window.Asc.plugin.executeMethod ("SetCustomFunctions", [JSON.stringify (Content)], function () {
window.Asc.plugin.executeCommand ("close", "");
});