DocumentAnalysisModelFactory.DocumentLine 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 DocumentLine.
public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentLine DocumentLine (string content = default, System.Collections.Generic.IReadOnlyList<System.Drawing.PointF> boundingPolygon = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> spans = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentWord> words = default);
static member DocumentLine : string * System.Collections.Generic.IReadOnlyList<System.Drawing.PointF> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentWord> -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentLine
Public Shared Function DocumentLine (Optional content As String = Nothing, Optional boundingPolygon As IReadOnlyList(Of PointF) = Nothing, Optional spans As IEnumerable(Of DocumentSpan) = Nothing, Optional words As IEnumerable(Of DocumentWord) = Nothing) As DocumentLine
Parameters
- content
- String
Concatenated content of the contained elements in reading order.
- boundingPolygon
- IReadOnlyList<PointF>
Bounding polygon of the line.
- spans
- IEnumerable<DocumentSpan>
Location of the line in the reading order concatenated content.
- words
- IEnumerable<DocumentWord>
The words that compose this line. Returned by the GetWords() method.
Returns
A new DocumentLine 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