Get Started
Plugins
Macros
More information

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

Description

Defines the method that allows removing OLE object from the document by its internal ID.

Usage

This method should be used in the following way:

window.Asc.plugin.executeMethod ("RemoveOleObject", [sInternalId]);
Parameters
Parameter Description Type Example
sInternalId The OLE object identifier which is used to work with OLE object added to the document. string "5_556"
Returns

The method returns the undefined value.

Example
window.Asc.plugin.executeMethod("RemoveOleObject", ["5_556"]);