Skip to main content

RemoveOleObject

Removes the OLE object from the document by its internal ID.

Syntax

expression.RemoveOleObject(sInternalId);

expression - A variable that represents a Api class.

Parameters

NameRequired/OptionalData typeDefaultDescription
sInternalIdRequiredstringThe OLE object identifier which is used to work with OLE object added to the document.

Returns

This method doesn't return any data.

Example

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