Get Started
Plugins
Macros
More information
|
window.Asc.plugin.executeMethod ("GetAllOleObjects", [args], callback)Description
Defines the method that allows getting all OLE object data for objects which can be opened by the specified plugin. If sPluginId is not defined, this method returns all OLE objects contained in the currrent document. Usage
This method should be used in the following way: window.Asc.plugin.executeMethod ("GetAllOleObjects", [sPluginId]); Parameters
Returns
The method returns an array of the OLEObjectData objects containing the data about the OLE object parameters: { "Data" : string, "ImageData" : string, "ApplicationId" : string, "InternalId" : string, "ParaDrawingId" : string, "Width" : number, "Height" : number, "WidthPix" : number, "HeightPix" : number } Parameters
Example
window.Asc.plugin.executeMethod("GetAllOleObjects", ["asc.{38E022EA-AD92-45FC-B22B-49DF39746DB4}"]); |