跳到主要内容

OpenFile

Opens a file with fields.

Syntax

expression.OpenFile(binaryFile, fields);

expression - A variable that represents a Api class.

Parameters

NameRequired/OptionalData typeDefaultDescription
binaryFileRequiredUint8ArrayA file in the format of the 8-bit unsigned integer array.
fieldsRequiredstring[]A list of field values.

Returns

This method doesn't return any data.

Example

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