次の方法で共有


DocumentIntelligenceModelFactory.DocumentLine Method

Definition

Initializes a new instance of DocumentLine.

public static Azure.AI.DocumentIntelligence.DocumentLine DocumentLine (string content = default, System.Collections.Generic.IEnumerable<float> polygon = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentSpan> spans = default);
static member DocumentLine : string * seq<single> * seq<Azure.AI.DocumentIntelligence.DocumentSpan> -> Azure.AI.DocumentIntelligence.DocumentLine
Public Shared Function DocumentLine (Optional content As String = Nothing, Optional polygon As IEnumerable(Of Single) = Nothing, Optional spans As IEnumerable(Of DocumentSpan) = Nothing) As DocumentLine

Parameters

content
String

Concatenated content of the contained elements in reading order.

polygon
IEnumerable<Single>

Bounding polygon of the line, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

spans
IEnumerable<DocumentSpan>

Location of the line in the reading order concatenated content.

Returns

A new DocumentLine instance for mocking.

Applies to