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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET