你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DocumentIntelligenceModelFactory.DocumentFigure 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 DocumentFigure.
public static Azure.AI.DocumentIntelligence.DocumentFigure DocumentFigure (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, Azure.AI.DocumentIntelligence.DocumentCaption caption = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentFootnote> footnotes = default, string id = default);
static member DocumentFigure : seq<Azure.AI.DocumentIntelligence.BoundingRegion> * seq<Azure.AI.DocumentIntelligence.DocumentSpan> * seq<string> * Azure.AI.DocumentIntelligence.DocumentCaption * seq<Azure.AI.DocumentIntelligence.DocumentFootnote> * string -> Azure.AI.DocumentIntelligence.DocumentFigure
Public Shared Function DocumentFigure (Optional boundingRegions As IEnumerable(Of BoundingRegion) = Nothing, Optional spans As IEnumerable(Of DocumentSpan) = Nothing, Optional elements As IEnumerable(Of String) = Nothing, Optional caption As DocumentCaption = Nothing, Optional footnotes As IEnumerable(Of DocumentFootnote) = Nothing, Optional id As String = Nothing) As DocumentFigure
Parameters
- boundingRegions
- IEnumerable<BoundingRegion>
Bounding regions covering the figure.
- spans
- IEnumerable<DocumentSpan>
Location of the figure in the reading order concatenated content.
- elements
- IEnumerable<String>
Child elements of the figure, excluding any caption or footnotes.
- caption
- DocumentCaption
Caption associated with the figure.
- footnotes
- IEnumerable<DocumentFootnote>
List of footnotes associated with the figure.
- id
- String
Figure ID.
Returns
A new DocumentFigure instance for mocking.