Interacting with editorsText document APIMethods打开文件本页总览打开文件 打开包含字段的文件。 语法 expression.OpenFile(binaryFile, fields); expression - 表示 Api 类的变量。 参数 名称必填/选填数据类型默认值说明binaryFile必填Uint8Array—以 8 位无符号整数数组格式表示的文件。fields必填string[]—字段值列表。 返回值 此方法不返回任何值。 示例 window.Asc.plugin.executeMethod ("OpenFile", [[Uint8Array], ["id", "name"]]);