Delete shape Version 1 (Net)
Action group: Power Point
Description
Action deletes the selected form in the selected 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 delete the shape. | Robin.PowerPoint | Yes | |
Slide number | Number of the slide where you need to delete the shape. | Robin.Numeric | Yes | |
Shape number | Number of the shape to delete. | Robin.Numeric | Yes |
Special conditions of use
None.
Example of use
Task
There is a PowerPoint document with a slide with 2 forms on it. It is necessary to delete form 2 (Forms are numbered in order of creation), save the changes and close the document.
Solution
Use the actions: Open PowerPoint document, Delete shape, Save as, Close PowerPoint document.
Implementation
1. Move the "Open Power-Point 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.
2. Move the "Delete shape" action to the workspace and set its parameters:
In the "The document instance" field, specify the instance of the open document from which the form on the slide is to be formed.
In the "Slide number" field specify the value - 1.
In the "Shape number" field specify the value - 2.
3. Move the "Save as" action to the workspace and set its parameters:
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 "The document instance" field, specify the instance of the open document to be closed.
5. Start the robot using the "Start" button in the top panel.
Result
The program robot completed successfully. Form No. 2 from slide No. 1 has been successfully deleted.