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

Document Understanding 活动

上次更新日期 2026年4月27日

结果值类

定义

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

描述

一个公共类,表示为提取结果中的字段报告的值。

备注:

Starting with UiPath.DocumentProcessing.Contracts package v1.17, you can identify some constructors, methods and properties being marked as obsolete. These structures will be removed in the future. Support for sub-fields at value level is obsolete and table fields are now represented using a new data structure.

成员

构造函数
  • ResultsValue (string value, string unformattedValue, UiPath.DocumentProcessing.Contracts.Results.ResultsContentReference reference, float confidence, float ocrConfidence) - Creates a simple automatically extracted UiPath.DocumentProcessing.Contracts.Results.ResultsValue.
  • ResultsValuestring valuestring unformattedValueUiPath.DocumentProcessing.Contracts.Results.ResultsContentReference referenceUiPath.DocumentProcessing.Contracts.Results.ResultsDerivedField[] derivedFieldsfloat confidencefloat ocrConfidence )- 创建一个简单的已自动提取UiPath.DocumentProcessing.Contracts.Results.ResultsValue以及派生部分。
  • ResultsValuestring valuestring unformattedValueUiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint[] componentsUiPath.DocumentProcessing.Contracts.Results.ResultsContentReference referenceUiPath.DocumentProcessing.Contracts.Results.ResultsDerivedField[] derivedFieldsfloat confidence float ocrConfidencebool operatorConfirmed ) - 使用valueunformattedValuecomponents (对于表格)、 referencederived fieldsconfidence初始化ResultsValue类的新实例 ,以及OperatorConfirmed标志。
    警告:

    This method is obsolete.

  • ResultsValuestring valueUiPath.DocumentProcessing.Contracts.Results.ResultsContentReference referencefloat confidencefloat ocrConfidence )- 使用设置的值及其对应的值初始化ResultsValue类的新实例参考和置信度。
  • ResultsValuestring valueUiPath.DocumentProcessing.Contracts.Results.ResultsContentReference referenceUiPath.DocumentProcessing.Contracts.Results.ResultsDerivedField derivedFieldsfloat confidencefloat ocrConfidence )- 初始化ResultsValue类的新实例使用设置值及其相应的引用和置信度级别,同时还在DerivedParts中设置格式化的值。
  • ResultsValue(string value, UiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint components, UiPath.DocumentProcessing.Contracts.Results.ResultsContentReference reference, UiPath.DocumentProcessing.Contracts.Results.ResultsDerivedField derivedFields, float confidence, float ocrConfidence, bool operatorConfirmed) - Initializes a new instance of the ResultsValue class with value, components (in the case of tables), reference, derived fields, confidence, as well a an OperatorConfirmed flag.
    警告:

    This method is obsolete.

  • ResultsValueUiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint componentsfloat confidencefloat ocrConfidence )- 用于表格,使用components参数和相应的置信度级别初始化ResultsValue类的新实例。
    警告:

    This method is obsolete.

  • ResultsValue(string, UiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint[], UiPath.DocumentProcessing.Contracts.Results.ResultsContentReference, UiPath.DocumentProcessing.Contracts.Results.ResultsDerivedField[], float, float, bool) - 使用提供的参数创建类的实例。
方法
  • CreateTableValueUiPath.DocumentProcessing.Contracts.Taxonomy.Field tableFieldSystem.Collections.Generic.IEnumerable<UiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint> headerCellsSystem.Collections.Generic.IEnumerable< System.Collections.Generic.IEnumerable<UiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint>> bodyCells<float><float> )- 生成与具有预定义参数的表格字段相对应的ResultsValue所提供参数中的表格和正文单元格。 根据headerCells构建必要的headerValue ,并根据 bodyCells 构建必要的bodyValues
    警告:

    This method is obsolete.

  • CreateTableValueUiPath.DocumentProcessing.Contracts.Taxonomy.Field tableFieldUiPath.DocumentProcessing.Contracts.Results.ResultsValue headerValueSystem.Collections.Generic.IEnumerable<UiPath.DocumentProcessing.Contracts.Results.ResultsValue> bodyValues<float><float> ocrConfidence )- 生成与预定义的表格字段相对应的ResultsValue表格值和正文行值。
    警告:

    This method is obsolete.

  • CreateWithCustomAreaReference ( <string>, <int>, UiPath.DocumentProcessing.Contracts.Box, float,float, UiPath.DocumentProcessing.Contracts.Dom.Document ) - 创建具有自定义区域引用的值。
  • CreateWithNoReference ( <string>, <float>, <float> ) - 创建不带引用的值。
  • CreateWithWordsReference (<string>, <int>, UiPath.DocumentProcessing.Contracts.Box area, <float> confidence, <float> ocrConfidence, <UiPath.DocumentProcessing.Contracts.Dom.Document> document) - Creates a value which references the words found in the specified area. The method will look up any words overlapping the provided area and will add them to the value reference.
属性
  • Components UiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint - The subfields and their respective values.
    警告:

    This method is obsolete.

  • Confidence float - 介于01之间的值,表示所报告字段值的置信度。
  • DerivedFields UiPath.DocumentProcessing.Contracts.Results.ResultsDerivedField - A list of derived parts, varying according to the field type defined in the taxonomy.
  • OcrConfidence float - 介于 0 和 1 之间的值,表示所报告字段值的 OCR 可信度。
  • OperatorConfirmed bool - 可用于验证该值是否已经过人工审核。
  • Reference UiPath.DocumentProcessing.Contracts.Results.ResultsContentReference - 报告值的引用。
  • TextType UiPath.DocumentProcessing.Contracts.Dom.TextType - 提供所提取值的文本来源。
  • UnformattedValue string - 报告的无格式字符串值。
  • Value string - 报告的文本值。
  • public string ValidatorNotes {get; set} = string.Empty
  • public string ValidatorNotesInfo {get; set} = string.Empty
  • 定义
  • 描述
  • 成员

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新