RemoveContentControls
删除多个内容控件。
语法
expression.RemoveContentControls(arrDocuments);
expression - 表示 Api 类的变量。
参数
| 名称 | 必需/可选 | 数据类型 | 默认值 | 描述 |
|---|---|---|---|---|
| arrDocuments | 必需 | ContentControl[] | 内容控件内部 ID 数组。示例:[{"InternalId": "5_556"}]。 |
返回值
此方法不返回任何数据。
示例
window.Asc.plugin.executeMethod ("RemoveContentControls", [[{"InternalId": "5_556"}]]);