Insert image Version 3 (Net)
Action group: Power Point
Description
The action is designed to insert an image into a placeholder on a slide
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
The document instance | An instance of an open PowerPoint document where you want to insert an image. | Robin.PowerPoint | Yes | |
Slide number | Number of the slide where you need to add the image. | Robin.Numeric | Yes | |
Image | Image to be added to the shape. | Robin.Image | C:\doc\img.png | Yes |
Coordinates | Coordinates of the point, where the image will be added. | Robin.LocationPo int | Yes | |
Width | Width of the image to be added. | Robin.Numeric | No | |
Height | Height of the image to be added. It is not taken into account if the «Width» parameter is not specified. | Robin.Numeric | No |
Special conditions of use
None.
Example of use
Task
There is a PowerPoint document. You need to insert an image into it, save the changes and close the document.
Solution
Use the following actions: Open PowerPoint document, Insert image, Save as, Close PowerPoint document.
Implementation
- Move the "Open PowerPoint document" action to the workspace and set its parameters:
In the "Path to file " field specify the path to the PowerPoint document file.
In the "Visible" field set checkbox = true. - Move the "Insert image" action to the workspace and set its parameters:
In the "The document instance" field, specify the instance of the open document where you want to insert the image.
In the "Slide number" field specify the value 1.
In the "Image" field, specify the path to the image on the computer or a variable with the "Image" type.
In the "Coordinates" field, specify the coordinates of the point where the image will be inserted. - Move the "Save as" action to the workspace and customize its settings:
In the "The document instance" field, specify the instance of the open document to be saved. - Move the "Close" action to the working area and customize its parameters:
In the "The document instance" field, specify the instance of the open document to be closed. - Launch the robot using the "Start" button in the top panel.
Result
The program robot completed successfully. The picture has been added to the slide.
Обзор
Инструменты контента