RemoveOleObjects
Removes several OLE objects from the document by their internal IDs.
Syntax
expression.RemoveOleObjects(arrObjects);
expression
- A variable that represents a Api class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
arrObjects | Required | 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
window.Asc.plugin.executeMethod ("RemoveOleObjects", [[{"InternalId": "5_556"}]]);