window.Asc.plugin.executeMethod ("OpenFile", [args], callback)
Defines the method that allows opening a file with fields.
This method should be used in the following way:
window.Asc.plugin.executeMethod ("OpenFile", [binaryFile, fields]);
Parameter |
Description |
Type |
Example |
binaryFile |
A file in the format of the 8-bit unsigned integer array. |
array |
[Uint8Array] |
fields |
A list of field values. |
list |
["id", "name"] |
The method returns the undefined value.
window.Asc.plugin.executeMethod ("OpenFile", [[Uint8Array], ["id", "name"]]);