RemoveOleObjects

RemoveOleObjects(arrObjects)

Removes several OLE objects from the document by their internal IDs.

Parameters:

Name Type Description
arrObjects Array.<OLEObjectData>

An array of the identifiers which are used to work with OLE objects added to the document. Example: [{"InternalId": "5_556"}].

Returns:

This method doesn't return any data.

Example

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