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

生产力活动

向幻灯片添加文本

UiPath.Presentation.Activities.InsertTextInPresentation

描述

在 PowerPoint 演示文稿中的指定占位符中插入文本。此活动必须添加到使用 PowerPoint 演示文稿活动中。

项目兼容性

旧版 | Windows - Legacy(旧版)| Windows - Legacy(旧版) Windows |跨平台

Configuration for Cross-platform projects

设计器面板

  • Presentation - Select Pluson the right side of the field to toggle between using a local path or a Resource file. We recommend using relative folder paths to accommodate the file structure variations between Windows and Linux during project execution. For example, newFolder or otherFolder.
  • Slide number - The index of the slide containing the desired text form.
  • 内容占位符 - 要在其中插入内容的形状的名称。
  • 要添加的文本 - 要插入的文本。
  • 清除内容占位符中的现有文本 - 如果启用,则系统会在添加新文本之前清除内容占位符中的文本。

Configuration for Windows projects

设计器面板

  • 演示文稿 - 设置要在其中插入文本的演示文稿文件。
  • Slide number - The index of the slide containing the desired text form.
  • 内容占位符 - 要在其中插入内容的形状的名称。
  • 要添加的文本 - 要插入的文本。
  • Clear existing text in content placeholder - If selected, clears the text in the content placeholder before adding the new text.

属性面板

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

Configuration for Windows - Legacy

设计器面板

  • Presentation - Select Plus on the right side of the field, and then select the presentation file where to insert the text.
  • Slide number - Select Plus on the right side of the field, then select the presentation file and the slide where to insert the text. Alternatively, use one of the other options in the menu to indicate the slide number:
    • 项目笔记本或父级 Excel 文件中的数据。例如,在 Excel 文件中选择一个单元格以使用该单元格中的值。
    • Ask when run - Prompt for the slide number when the project is executed.
    • Number - Enter the slide number.
    • Use Saved Value - Select a numeric value that you previously saved for later use in the project.
    • Open in Advanced Editor - Enter a VB expression.
  • Content placeholder - Select Plus on the right side of the field, then select the presentation file, the slide, and then select the name of the placeholder where to insert the text. Alternatively, use one of the other options in the menu to indicate the layout name:
    • 项目笔记本、父级 Excel 文件或 Outlook 帐户中的数据。例如,在 Excel 文件中选择一个单元格以使用该单元格中的值。
    • “运行时询问”- 执行项目时提示输入名称。
    • “从剪贴板粘贴” - 将您以前复制的值粘贴到项目中的剪贴板中。
    • “文本”- 在文本生成器中输入名称。
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Open in Advanced Editor - Enter a VB expression.
  • Text to add- Select Plus on the right side of the field, and then select Text to enter the text to insert in the presentation. Alternatively, you can use one of the other options in the menu to indicate the text to insert:
    • 项目笔记本、父级 Excel 文件或 Outlook 帐户中的数据。例如,在 Excel 文件中选择一个单元格以使用该单元格中的值。
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Ask when run - Prompt for the number when the project is executed.
    • “从剪贴板粘贴”- 将您以前复制的值粘贴到项目中的剪贴板中。
    • Open in Advanced Editor - Enter a VB expression.
  • Clear existing text in content placeholder - If selected, clears the text in the content placeholder before adding the new text.

属性面板

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

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新