你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DocumentIntelligenceModelFactory.DocumentTableCell Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Table cell kind.
- rowIndex
- Int32
Row index of the cell.
- columnIndex
- Int32
Column index of the 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.