Share via


DocumentAnalysisModelFactory.DocumentTable Method

Definition

Initializes a new instance of DocumentTable.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTable DocumentTable (int rowCount = 0, int columnCount = 0, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTableCell> cells = 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 DocumentTable : int * int * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTableCell> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentTable
Public Shared Function DocumentTable (Optional rowCount As Integer = 0, Optional columnCount As Integer = 0, Optional cells As IEnumerable(Of DocumentTableCell) = Nothing, Optional boundingRegions As IEnumerable(Of BoundingRegion) = Nothing, Optional spans As IEnumerable(Of DocumentSpan) = Nothing) As DocumentTable

Parameters

rowCount
Int32

Number of rows in the table.

columnCount
Int32

Number of columns in the table.

cells
IEnumerable<DocumentTableCell>

Cells contained within the table.

boundingRegions
IEnumerable<BoundingRegion>

Bounding regions covering the table.

spans
IEnumerable<DocumentSpan>

Location of the table in the reading order concatenated content.

Returns

A new DocumentTable instance for mocking.

Applies to