Share via


DocumentAnalysisModelFactory.DocumentWord Method

Definition

Initializes a new instance of DocumentWord.

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

Parameters

content
String

Text content of the word.

boundingPolygon
IReadOnlyList<PointF>

Bounding polygon of the word.

span
DocumentSpan

Location of the word in the reading order concatenated content.

confidence
Single

Confidence of correctly extracting the word.

Returns

A new DocumentWord instance for mocking.

Applies to