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

生产力活动

向幻灯片添加文件

UiPath.Presentations.Activities.InsertFile

描述

将磁盘中的文件插入幻灯片并作为图标显示。此活动必须添加到使用 PowerPoint 演示文稿活动中。

配置活动

设计器面板

  • Presentation - Presentation in which to enter the file. In StudioX, select Plus on the right side of the field, and then select the presentation file where to insert the specified file from the disk. Alternatively, you enter a VB expression.

  • Slide number - Slide number on which to insert the file (numbers begin with 1). In StudioX, select Plus on the right side of the field, and then select the slide number from the presentation file where to insert the file. Alternatively, use one of the other options in the menu to indicate the slide number:

    • “运行时询问”- 执行项目时提示输入名称。
    • Number - Specify the number of the slide.
    • Open in Advanced Editor - Enter a VB expression.
  • Content placeholder - Placeholder (shape) on the slide where the file will be added. In StudioX, select Plus on the right side of the field, and then select the presentation file with the placeholder for the file.

或者,也可以使用菜单中的另一个选项来指定占位符名称:

  • “运行时询问”- 执行项目时提示输入名称。
  • “从剪贴板粘贴”- 将您以前复制的值粘贴到项目中的剪贴板中。
  • “文本”- 在文本生成器中输入名称。
  • Open in Advanced Editor - Enter a VB expression.
  • File to add - The path to the file to insert. Select Browse next to the field, and then browse to select the file to add. Alternatively, in StudioX, select Plus on the right side of the field, and then select one of the options in the menu to indicate the file to add:

    • “运行时询问”- 执行项目时提示输入名称。
    • “从剪贴板粘贴”- 将您以前复制的值粘贴到项目中的剪贴板中。
    • “文本”- 在文本生成器中输入名称。
    • Open in Advanced Editor - Enter a VB expression.
  • Icon label - The caption used for the icon. By default the name of the file is used. In StudioX, select Plus on the right side of the field, and then select a presentation file that contains the icon label. Alternatively, use one of the other options in the menu to indicate the icon label:

    • Ask when run - Prompt for the icon label when the project is executed.
    • “从剪贴板粘贴”- 将您以前复制的值粘贴到项目中的剪贴板中。
    • Text - Enter the icon label in the Text Builder.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Open in Advanced Editor - Enter a VB expression.
  • New shape name - The new name of the content placeholder where the item is added. In StudioX, select Plus on the right side of the field, and then select a presentation file that contains the new name. Alternatively, use one of the other options in the menu to indicate the new name:

    • “运行时询问”- 执行项目时提示输入名称。
    • “从剪贴板粘贴”- 将您以前复制的值粘贴到项目中的剪贴板中。
    • “文本”- 在文本生成器中输入名称。
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Open in Advanced Editor - Enter a VB expression.

属性面板

常见
  • DisplayName - The name displayed for the activity in the Designer panel.
输入
  • 请在活动正文中查看选项。
其他
  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。
  • 描述
  • 配置活动
  • 设计器面板
  • 属性面板

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新