Insert picture
This document provides an example of how to use Word components in the visual editor of Alibaba Cloud RPA (Robotic Process Automation).
1. Component introduction
Prerequisite component: Start Word
Use this component to insert a picture into a Word document.
2. Inputs
For information about each input, see the help text in the component pane of the visual editor.
3. Outputs
For information about each output, see the help text in the component pane of the visual editor.
4. Component usage example
4.1. Component configuration example
In
Opened Word Object, select v_word_obj_1, which is the output of the Start Word component.Set
Picture Sourceto Local Picture.In
Picture Path, enter the path to the picture.In
Picture Scaling Percentage, enter 50.Set Insert Line Break Before to Yes.
Keep the default values for the advanced options.
4.2. Example execution result
None
5. Example flow
Setup flow
Add a Start Word component to the canvas to open a specified Word file.
Add a Position Word Cursor component to the canvas to position the cursor after the first occurrence of "RPA" in the Word file.
Add an Insert Picture component to the canvas to insert a picture into the Word document.
Execution result
The program opens the specified Word file and inserts the picture at the current cursor position.