你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DocumentIntelligenceModelFactory.DocumentTable 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 DocumentTable.
public static Azure.AI.DocumentIntelligence.DocumentTable DocumentTable (int rowCount = 0, int columnCount = 0, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentTableCell> cells = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.BoundingRegion> boundingRegions = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentSpan> spans = default, Azure.AI.DocumentIntelligence.DocumentCaption caption = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentFootnote> footnotes = default);
static member DocumentTable : int * int * seq<Azure.AI.DocumentIntelligence.DocumentTableCell> * seq<Azure.AI.DocumentIntelligence.BoundingRegion> * seq<Azure.AI.DocumentIntelligence.DocumentSpan> * Azure.AI.DocumentIntelligence.DocumentCaption * seq<Azure.AI.DocumentIntelligence.DocumentFootnote> -> Azure.AI.DocumentIntelligence.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, Optional caption As DocumentCaption = Nothing, Optional footnotes As IEnumerable(Of DocumentFootnote) = 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.
- caption
- DocumentCaption
Caption associated with the table.
- footnotes
- IEnumerable<DocumentFootnote>
List of footnotes associated with the table.
Returns
A new DocumentTable instance for mocking.