Sdílet prostřednictvím


DocumentIntelligenceModelFactory.DocumentTableCell Method

Definition

Initializes a new instance of DocumentTableCell.

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

Parameters

kind
Nullable<DocumentTableCellKind>

Table cell kind.

rowIndex
Int32

Row index of the cell.

columnIndex
Int32

Column index of the cell.

rowSpan
Nullable<Int32>

Number of rows spanned by this cell.

columnSpan
Nullable<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.

elements
IEnumerable<String>

Child elements of the table cell.

Returns

A new DocumentTableCell instance for mocking.

Applies to