Insert image from extension into document
Purpose
To insert the image from extension into the current writer document.
Syntax
WriterClient.dispatch("insertImage", <image_data_variable>).then(function(response){console.log(response)});
Data Parameters
Parameter | Data Type | Description |
Mandatory Parameters | ||
src | String | Specify the url of the image that needs to be inserted. |
height | Integer | Specify the height of the image to be inserted. |
width | Integer | Specify the width of the image to be inserted. |