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

生产力活动

读取文本

UiPath.Word.Activities.DocumentReadText

描述

从 Word 文档读取文本并将其存储在字符串变量中。

项目兼容性

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

跨平台、Windows 配置

  • File - The full path of the Word file to be used. Select Plus on 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.

    备注:

    仅支持字符串变量和字符串。必须为字符串加上引号。

属性面板

输出
  • “文本”- 从文档中提取的文本。该字段支持字符串变量和通用值变量。

Windows - 旧版配置

属性

输出

  • “文本”- 从文档中提取的文本。该字段支持字符串变量和通用值变量。

文件

  • “文件路径”- 要使用的 Word 文件的完整路径。如果要使用的 Word 文件位于项目文件夹中,则可使用该文件的相对路径。仅支持字符串和字符串变量。
    备注:

    必须为字符串加上引号。

常见

  • “显示名称”- 活动的显示名称。

其他

  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。
  • 描述
  • 项目兼容性
  • 跨平台、Windows 配置
  • 属性面板
  • Windows - 旧版配置
  • 属性
  • 输出
  • 文件
  • 常见
  • 其他

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新