Get Started
Plugins
Macros
More information

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

Description

Defines the method that allows removing several OLE objects from the document by their internal IDs.

Usage

This method should be used in the following way:

window.Asc.plugin.executeMethod ("RemoveOleObjects", [arrObjects]);
Parameters
Parameter Description Type Example
arrObjects An array of the OLE object data with the identifiers which are used to work with OLE objects added to the document. array of objects [{"InternalId": "5_556"}]
Returns

The method returns the undefined value.

Example
window.Asc.plugin.executeMethod("RemoveOleObjects", [[{"InternalId": "5_556"}]]);