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

生产力活动

上次更新日期 2026年2月19日

向幻灯片添加文本

UiPath.Presentation.Activities.InsertTextInPresentation

描述

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

项目兼容性

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

跨平台配置

在活动正文中
  • 演示文稿- 单击字段右侧的加号,可在使用本地路径或资源文件之间切换。我们建议使用相对文件夹路径,以适应项目执行期间 Windows 和 Linux 之间的文件结构变化。例如newFolderotherFolder
  • Slide number - The index of the slide containing the desired text form.
  • 内容占位符 - 要在其中插入内容的形状的名称。
  • 要添加的文本 - 要插入的文本。
  • 清除内容占位符中的现有文本 - 如果启用,则系统会在添加新文本之前清除内容占位符中的文本。

Windows 配置

在活动正文中
  • 演示文稿 - 设置要在其中插入文本的演示文稿文件。
  • 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”级别记录变量和参数的值。

Windows - 旧版配置

在活动正文中
  • 演示文稿 - 单击字段右侧的加号,然后选择要在其中插入文本的演示文稿文件。
  • 幻灯片编号 - 单击字段右侧的加号,然后选择要在其中插入文本的演示文稿文件和幻灯片。 或者,也可以使用菜单中的另一个选项来指定幻灯片编号:
    • 项目笔记本或父级 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.
  • 内容占位符- 单击字段右侧的加号,然后选择演示文稿文件、幻灯片,然后选择要在其中插入文本的占位符的名称。或者,也可以使用菜单中的另一个选项来指定布局名称:
    • 项目笔记本、父级 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.
  • 要添加的文本- 单击字段右侧的加号,然后选择“文本”以输入要插入到演示文稿中的文本。或者,也可以使用菜单中的另一个选项来指定要插入的文本:
    • 项目笔记本、父级 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”级别记录变量和参数的值。

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2026 UiPath。保留所有权利。