Get Started
Plugins
Macros
More information
|
window.Asc.plugin.executeMethod ("AddOleObject", [args], callback)Description
Defines the method that allows adding the OLE object to the current document position. Usage
This method should be used in the following way: window.Asc.plugin.executeMethod ("AddOleObject", [NewObject]); Parameters
Returns
The method returns the undefined value. Example
window.Asc.plugin.executeMethod("AddOleObject", [{"Data": "{data}", "ImageData": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6", "ApplicationId": "asc.{38E022EA-AD92-45FC-B22B-49DF39746DB4}", "Width": 70, "Height": 70, "WidthPix": 60 * 36000, "HeightPix": 60 * 36000}]); |