次の方法で共有


DocumentIntelligenceModelFactory.DocumentSelectionMark Method

Definition

Initializes a new instance of DocumentSelectionMark.

public static Azure.AI.DocumentIntelligence.DocumentSelectionMark DocumentSelectionMark (Azure.AI.DocumentIntelligence.DocumentSelectionMarkState state = default, System.Collections.Generic.IEnumerable<float> polygon = default, Azure.AI.DocumentIntelligence.DocumentSpan span = default, float confidence = 0);
static member DocumentSelectionMark : Azure.AI.DocumentIntelligence.DocumentSelectionMarkState * seq<single> * Azure.AI.DocumentIntelligence.DocumentSpan * single -> Azure.AI.DocumentIntelligence.DocumentSelectionMark
Public Shared Function DocumentSelectionMark (Optional state As DocumentSelectionMarkState = Nothing, Optional polygon As IEnumerable(Of Single) = Nothing, Optional span As DocumentSpan = Nothing, Optional confidence As Single = 0) As DocumentSelectionMark

Parameters

state
DocumentSelectionMarkState

State of the selection mark.

polygon
IEnumerable<Single>

Bounding polygon of the selection mark, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

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