FormRecognizerModelFactory.FormField Method

Definition

Initializes a new instance of the FormField class.

public static Azure.AI.FormRecognizer.Models.FormField FormField (string name, Azure.AI.FormRecognizer.Models.FieldData labelData, Azure.AI.FormRecognizer.Models.FieldData valueData, Azure.AI.FormRecognizer.Models.FieldValue value, float confidence);
static member FormField : string * Azure.AI.FormRecognizer.Models.FieldData * Azure.AI.FormRecognizer.Models.FieldData * Azure.AI.FormRecognizer.Models.FieldValue * single -> Azure.AI.FormRecognizer.Models.FormField
Public Shared Function FormField (name As String, labelData As FieldData, valueData As FieldData, value As FieldValue, confidence As Single) As FormField

Parameters

name
String

Canonical name; uniquely identifies a field within the form.

labelData
FieldData

Contains the text, bounding box and content of the label of the field in the form.

valueData
FieldData

Contains the text, bounding box and content of the value of the field in the form.

value
FieldValue

The strongly-typed value of this field.

confidence
Single

Measures the degree of certainty of the recognition result.

Returns

A new FormField instance for mocking.

Applies to