Share via


FormRecognizerModelFactory.FormSelectionMark Method

Definition

Initializes a new instance of the FormSelectionMark class.

public static Azure.AI.FormRecognizer.Models.FormSelectionMark FormSelectionMark (Azure.AI.FormRecognizer.Models.FieldBoundingBox boundingBox, int pageNumber, string text, float confidence, Azure.AI.FormRecognizer.Models.SelectionMarkState state);
static member FormSelectionMark : Azure.AI.FormRecognizer.Models.FieldBoundingBox * int * string * single * Azure.AI.FormRecognizer.Models.SelectionMarkState -> Azure.AI.FormRecognizer.Models.FormSelectionMark
Public Shared Function FormSelectionMark (boundingBox As FieldBoundingBox, pageNumber As Integer, text As String, confidence As Single, state As SelectionMarkState) As FormSelectionMark

Parameters

boundingBox
FieldBoundingBox

The quadrilateral bounding box that outlines the element.

pageNumber
Int32

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

text
String

The text of selection mark value.

confidence
Single

Measures the degree of certainty of the recognition result.

state
SelectionMarkState

Selection mark state value.

Returns

A new FormSelectionMark instance for mocking.

Applies to