FormRecognizerModelFactory.FieldData Method

Definition

Initializes a new instance of the FieldData class.

public static Azure.AI.FormRecognizer.Models.FieldData FieldData (Azure.AI.FormRecognizer.Models.FieldBoundingBox boundingBox, int pageNumber, string text, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.Models.FormElement> fieldElements);
static member FieldData : Azure.AI.FormRecognizer.Models.FieldBoundingBox * int * string * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.Models.FormElement> -> Azure.AI.FormRecognizer.Models.FieldData
Public Shared Function FieldData (boundingBox As FieldBoundingBox, pageNumber As Integer, text As String, fieldElements As IReadOnlyList(Of FormElement)) As FieldData

Parameters

boundingBox
FieldBoundingBox

The quadrilateral bounding box that outlines the text of this element.

pageNumber
Int32

The 1-based number of the page in which this element is present.

text
String

The text of this form element.

fieldElements
IReadOnlyList<FormElement>

A list of references to the field elements constituting this data.

Returns

A new FieldData instance for mocking.

Applies to