UiPath Documentation
activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

生产力活动

替换图片

UiPath.Word.Activities.WordReplacePicture

描述

用另一张指定图片替换 Word 文档中出现的所有图片。要替换的图片由其替换文本标识。此活动必须添加到“使用 Word 文件”活动中。

The Alt text is a short description of the image, which makes sense of that image when it can't be viewed. It describes the content of the image in a succinct and specific way. To set or view the alt text of an image in Word, open the context menu for the image and select Edit Alt Text....

配置活动

设计器面板

  • Find pictures with Alt Text - Select Plus on the right side of the field, and then select Text to enter the Alt Text of the picture to replace in the Text Builder. Alternatively, you can use one of the other options in the menu to indicate the Alt Text:

    • 项目笔记本、父级 Excel 文件或 Outlook 帐户中的数据。例如,选择一个 Excel 文件,然后选择一个包含该文本的单元格,或指定 Outlook 中所选电子邮件中包含该文本的字段。
    • 使用保存的值- 选择您先前在项目中保存以备后用的名称。
    • “运行时询问”- 执行项目时提示输入文本。
    • Open in Advanced Editor - Enter a VB expression.
  • Replace with picture - Select Browse docs image next to the field, and then browse to and select an image file to replace the picture in the document. Alternatively, select Plus on the right side of the field, and then, from the menu, choose one of the available options to indicate the path to the image file to replace the picture with:

    • 项目笔记本、父级 Excel 文件或 Outlook 帐户中的数据。例如,选择一个 Excel 文件,然后选择一个包含该名称的单元格,或指定 Outlook 中所选电子邮件中包含该名称的字段。
    • 使用保存的值- 以索引的形式选择您先前保存以供以后在项目中使用的值。
    • 文本 - 在文本生成器中输入文件路径。
    • Ask when run - Prompt for a file path when the project is executed.
    • Open in Advanced Editor - Enter a VB expression.

属性面板

常见
  • 显示名称 -“设计器”面板中活动的显示名称。
输入
  • 请在活动正文中查看选项 。
其他
  • 私有 - 选中后将不再以“Verbose”级别记录变量和参数的值。
  • 描述
  • 配置活动
  • 设计器面板
  • 属性面板

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新