Action group: Office
The action adds an image to the document
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Context for working with a document | Robin.OpenTextDo c | Yes | |
Image | The path to the image to add to the document | Robin.FilePath | Yes | |
Add text to | Location in document where image should be inserted to | Robin.String | Yes | |
Bookmark name | The name of the bookmark after which the image will be added | Robin.String | No | |
On a new line | If the value of the parameter is true, then the specified image will be added on a new line, and the subsequent text in the document will be translated to a new line. Default value is false | Robin.Boolean | true | No |
Width | The width of the image to be added | Robin.Numeric | No | |
Height | The height of the image to be added. Ignored if the «Width» parameter is not specified | Robin.Numeric | No |
None.
There is a file Problem Descriptions.docx. You need to open the document and add an image there. Then, save the document and close it.
Use the "Open", "Add image", "Save", "Close" actions.
The program robot completed successfully.
The required image is added to the document. The file is saved and closed.