FormRecognizerModelFactory.FormLine Method

Definition

Initializes a new instance of the FormLine class.

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

Parameters

boundingBox
FieldBoundingBox

The quadrilateral bounding box that outlines the text of this element.

pageNumber
Int32

The 1-based number of the page in which this element is present.

text
String

The text of this form element.

words
IReadOnlyList<FormWord>

A list of the words that make up the line.

appearance
TextAppearance

An object representing the appearance of the text line.

Returns

A new FormLine instance for mocking.

Applies to