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

结果文档范围类

ResultsDocumentBounds 类,表示文档边界,包括提取结果的页数和文本长度。

定义​

  • 命名空间: UiPath.DocumentProcessing.Contracts.Results
  • 程序集: UiPath.DocumentProcessing.Contracts

描述​

一个公共类,表示报告的提取或分类结果的文档边界。

成员​

构造函数​

  • ResultsDocumentBounds(int pageCount, int textLength) - 初始化 ResultsDocumentBounds 类的新实例,根据提供的输入参数设置 StartPage = 0、TextStartIndex = 0 和 PageCount, TextLength。
    • pageCount (Int32) - 文档边界内的页数。
    • textLength (Int32) - 文档边界内内容的文本长度。
    警告:

    此构造函数已过时。

  • ResultsDocumentBounds(int startPage, int pageCount, int textStartIndex, int textLength) - 初始化 ResultsDocumentBounds 类的新实例,并根据提供的输入参数设置所有属性。
    • startPage (Int32) - 文档边界内第一页从 0 开始的索引。
    • textStartIndex (Int32) - 整个文件中 StartPage 的起始文本位置。
    • pageCount、textLength - 同上。
    警告:

    此构造函数已过时。

  • ResultsDocumentBounds(int startPage, int pageCount, int textStartIndex, int textLength, string pageRange) - 初始化 ResultsDocumentBounds 类的新实例,并根据提供的输入参数设置所有属性,包括页面范围。
    • pageRange (String) - 文档边界内的页面范围。
    • startPage、pageCount、textStartIndex、textLength - 同上。
    警告:

    此构造函数已过时。

  • ResultsDocumentBounds(string pageRange, int pageCount) - 根据页面范围和页数初始化 ResultsDocumentBounds 类的新实例。
    • pageRange、pageCount - 同上。

属性​

  • PageCount int - 文档边界内的页数。
  • PageRange string - 文档边界内的页面范围。
  • StartPage int - 文档边界内第一页从 0 开始的索引。
    警告:

    此属性已过时。改为使用 PageRange。

  • TextLength int - 在由PageCount和StartPage定义的页面范围中找到的内容的文本长度。
    警告:

    此属性已过时。改为使用 PageRange。

  • TextStartIndex int - StartPage在整个文件中的开始文本位置。
    警告:

    此属性已过时。改为使用 PageRange。

  • 定义​
  • 描述​
  • 成员​
  • 构造函数​
  • 属性​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新