次の方法で共有


DocumentAnalysisModelFactory.DocumentLine メソッド

定義

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

パラメーター

content
String

読み取り順に含まれる要素の連結されたコンテンツ。

boundingPolygon
IReadOnlyList<PointF>

ラインの境界ポリゴン。

spans
IEnumerable<DocumentSpan>

読み取り順序の連結されたコンテンツ内の行の場所。

words
IEnumerable<DocumentWord>

この行を構成する単語。 メソッドによって GetWords() 返されます。

戻り値

モック作成用の新しい DocumentLine インスタンス。

適用対象