Share via


DocumentAnalysisModelFactory.DocumentSelectionMark Method

Definition

Initializes a new instance of DocumentSelectionMark.

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSelectionMark DocumentSelectionMark (Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSelectionMarkState state = Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSelectionMarkState.Unselected, System.Collections.Generic.IReadOnlyList<System.Drawing.PointF> boundingPolygon = default, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan span = default, float confidence = 0);
static member DocumentSelectionMark : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSelectionMarkState * System.Collections.Generic.IReadOnlyList<System.Drawing.PointF> * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan * single -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSelectionMark
Public Shared Function DocumentSelectionMark (Optional state As DocumentSelectionMarkState = Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSelectionMarkState.Unselected, Optional boundingPolygon As IReadOnlyList(Of PointF) = Nothing, Optional span As DocumentSpan = Nothing, Optional confidence As Single = 0) As DocumentSelectionMark

Parameters

state
DocumentSelectionMarkState

State of the selection mark.

boundingPolygon
IReadOnlyList<PointF>

Bounding polygon of the selection mark.

span
DocumentSpan

Location of the selection mark in the reading order concatenated content.

confidence
Single

Confidence of correctly extracting the selection mark.

Returns

A new DocumentSelectionMark instance for mocking.

Applies to