TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

ChangeOleObjects

ChangeOleObjects(arrObjectData)

Changes multiple OLE objects with the InternalIds specified in OLE object data.

Parameters:

Name Type Description
arrObjectData Array.<OLEObjectData>

An array of OLE object data.

Returns:

This method doesn't return any data.

Example

Copy code
window.Asc.plugin.executeMethod ("ChangeOleObjects", [
    [
        {
            "Data": "{data}",
            "ImageData": "data:image/png;base64,image-in-the-base64-format",
            "ApplicationId": "asc.{38E022EA-AD92-45FC-B22B-49DF39746DB4}",
            "InternalId": "5_556",
            "ParaDrawingId": "1_713",
            "Width": 70,
            "Height": 70,
            "WidthPix": 60 * 36000,
            "HeightPix": 60 * 36000
        }
    ]
]);