你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DocumentAnalysisModelFactory.DocumentSelectionMark 方法

定义

初始化 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

参数

state
DocumentSelectionMarkState

选择标记的状态。

boundingPolygon
IReadOnlyList<PointF>

选择标记的边界多边形。

span
DocumentSpan

选择标记在阅读顺序串联内容中的位置。

confidence
Single

正确提取选择标记的置信度。

返回

用于模拟的新 DocumentSelectionMark 实例。

适用于