Share via


DocumentAnalysisModelFactory.DocumentField Method

Definition

Initializes a new instance of DocumentField.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField DocumentField (Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType fieldType, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue value, string content, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> boundingRegions, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> spans, float? confidence);
static member DocumentField : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldType * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentFieldValue * string * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> * Nullable<single> -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField
Public Shared Function DocumentField (fieldType As DocumentFieldType, value As DocumentFieldValue, content As String, boundingRegions As IReadOnlyList(Of BoundingRegion), spans As IReadOnlyList(Of DocumentSpan), confidence As Nullable(Of Single)) As DocumentField

Parameters

fieldType
DocumentFieldType

Data type of the field value.

content
String

Field content.

boundingRegions
IReadOnlyList<BoundingRegion>

Bounding regions covering the field.

spans
IReadOnlyList<DocumentSpan>

Location of the field in the reading order concatenated content.

confidence
Nullable<Single>

Confidence of correctly extracting the field.

Returns

Applies to