Insert the table into the placeholder Version 1 (Net)
Action group: Power Point
Description
The action inserts the table into the placeholder on the 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 the table is to be added. | Robin.PowerPoint | Yes | |
Table | Variable of the «DataTable» type with data. | Robin.DataTable | Yes | |
Slide number | Number of the slide where you need to insert the table. | Robin.Numeric | Yes | |
Coordinates | Coordinates of the point, where the table will be added. | Robin.LocationPo int | Yes | |
Width | Width of the table to be added. | Robin.Numeric | No | |
Height | Height of the table 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 a table that is saved in the "Table" variable, save the changes and close the document.
Solution
Use the following actions: Open PowerPoint document, Insert table into the placeholder, 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 Power-Point document file.
In the "Visible" field set checkbox = true. - Move the "Insert table into the placeholder" action to the workspace and set its parameters:
In the "The document instance" field, specify the instance of the open document where the table should be inserted.
In the "Table" field specify a variable of the "Table" type containing the target table.
In the "Slide number" field, specify the value 1.
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.
4. Move the "Close" action to the working area and set its parameters:
In the "Document instance" field, specify the instance of the open document to be closed.
5. Launch the robot using the "Start" button in the top panel.
Result
The program robot completed successfully. The table from the variable is inserted on the slide.