DocumentIntelligenceModelFactory.DocumentSelectionMark Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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
Azure SDK for .NET