Share via


DocumentAnalysisModelFactory.DocumentTableCell Method

Definition

Initializes a new instance of DocumentTableCell.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTableCell DocumentTableCell (Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTableCellKind kind = default, int rowIndex = 0, int columnIndex = 0, int rowSpan = 0, int columnSpan = 0, string content = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> boundingRegions = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> spans = default);
static member DocumentTableCell : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTableCellKind * int * int * int * int * string * seq<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTableCell
Public Shared Function DocumentTableCell (Optional kind As DocumentTableCellKind = Nothing, Optional rowIndex As Integer = 0, Optional columnIndex As Integer = 0, Optional rowSpan As Integer = 0, Optional columnSpan As Integer = 0, Optional content As String = Nothing, Optional boundingRegions As IEnumerable(Of BoundingRegion) = Nothing, Optional spans As IEnumerable(Of DocumentSpan) = Nothing) As DocumentTableCell

Parameters

kind
DocumentTableCellKind

Table cell kind.

rowIndex
Int32

Row index of the cell.

columnIndex
Int32

Column index of the cell.

rowSpan
Int32

Number of rows spanned by this cell.

columnSpan
Int32

Number of columns spanned by this cell.

content
String

Concatenated content of the table cell in reading order.

boundingRegions
IEnumerable<BoundingRegion>

Bounding regions covering the table cell.

spans
IEnumerable<DocumentSpan>

Location of the table cell in the reading order concatenated content.

Returns

A new DocumentTableCell instance for mocking.

Applies to