FormRecognizerModelFactory.FormTableCell Method

Definition

Initializes a new instance of the FormTableCell class.

public static Azure.AI.FormRecognizer.Models.FormTableCell FormTableCell (Azure.AI.FormRecognizer.Models.FieldBoundingBox boundingBox, int pageNumber, string text, int columnIndex, int rowIndex, int columnSpan, int rowSpan, bool isHeader, bool isFooter, float confidence, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.Models.FormElement> fieldElements);
static member FormTableCell : Azure.AI.FormRecognizer.Models.FieldBoundingBox * int * string * int * int * int * int * bool * bool * single * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.Models.FormElement> -> Azure.AI.FormRecognizer.Models.FormTableCell
Public Shared Function FormTableCell (boundingBox As FieldBoundingBox, pageNumber As Integer, text As String, columnIndex As Integer, rowIndex As Integer, columnSpan As Integer, rowSpan As Integer, isHeader As Boolean, isFooter As Boolean, confidence As Single, fieldElements As IReadOnlyList(Of FormElement)) As FormTableCell

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.

columnIndex
Int32

The column index of the cell.

rowIndex
Int32

The row index of the cell.

columnSpan
Int32

The number of columns spanned by this cell.

rowSpan
Int32

The number of rows spanned by this cell.

isHeader
Boolean

true if this cell is a header cell. Otherwise, false.

isFooter
Boolean

true if this cell is a footer cell. Otherwise, false.

confidence
Single

Measures the degree of certainty of the recognition result.

fieldElements
IReadOnlyList<FormElement>

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

Returns

A new FormTableCell instance for mocking.

Applies to