Get Started
Plugins
Macros
More information

window.Asc.plugin.executeMethod ("OpenFile", [args], callback)

Description

Defines the method that allows opening file with fields.

Usage

This method should be used in the following way:

window.Asc.plugin.executeMethod ("OpenFile", [binaryFile, fields]);
Parameters
Parameter Description Type Example
binaryFile A file in the format of a 8-bit unsigned integer array. array [Uint8Array]
fields The list of field values. list ["id", "name"]
Returns

The method returns the undefined value.

Example
window.Asc.plugin.executeMethod ("OpenFile", [[Uint8Array], ["id", "name"]]);