Freigeben über


FormRecognizerModelFactory.FormLine Methode

Definition

Initialisiert eine neue Instanz der FormLine-Klasse.

public static Azure.AI.FormRecognizer.Models.FormLine FormLine (Azure.AI.FormRecognizer.Models.FieldBoundingBox boundingBox, int pageNumber, string text, System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.Models.FormWord> words, Azure.AI.FormRecognizer.Models.TextAppearance appearance);
static member FormLine : Azure.AI.FormRecognizer.Models.FieldBoundingBox * int * string * System.Collections.Generic.IReadOnlyList<Azure.AI.FormRecognizer.Models.FormWord> * Azure.AI.FormRecognizer.Models.TextAppearance -> Azure.AI.FormRecognizer.Models.FormLine
Public Shared Function FormLine (boundingBox As FieldBoundingBox, pageNumber As Integer, text As String, words As IReadOnlyList(Of FormWord), appearance As TextAppearance) As FormLine

Parameter

boundingBox
FieldBoundingBox

Das quadrilaterale Begrenzungsfeld, das den Text dieses Elements umreißt.

pageNumber
Int32

Die 1-basierte Anzahl der Seite, auf der dieses Element vorhanden ist.

text
String

Der Text dieses Formularelements.

words
IReadOnlyList<FormWord>

Eine Liste der Wörter, aus denen die Zeile besteht.

appearance
TextAppearance

Ein Objekt, das die Darstellung der Textzeile darstellt.

Gibt zurück

Eine neue FormLine instance zum Mocking.

Gilt für: