DocumentIntelligenceModelFactory.DocumentCaption 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 DocumentCaption.
public static Azure.AI.DocumentIntelligence.DocumentCaption DocumentCaption (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 DocumentCaption : string * seq<Azure.AI.DocumentIntelligence.BoundingRegion> * seq<Azure.AI.DocumentIntelligence.DocumentSpan> * seq<string> -> Azure.AI.DocumentIntelligence.DocumentCaption
Public Shared Function DocumentCaption (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 DocumentCaption
Parameters
- content
- String
Content of the caption.
- boundingRegions
- IEnumerable<BoundingRegion>
Bounding regions covering the caption.
- spans
- IEnumerable<DocumentSpan>
Location of the caption in the reading order concatenated content.
- elements
- IEnumerable<String>
Child elements of the caption.
Returns
A new DocumentCaption instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET