Share via


DocumentAnalysisModelFactory.DocumentFormula Method

Definition

Initializes a new instance of DocumentFormula.

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

Parameters

kind
DocumentFormulaKind

Formula kind.

value
String

LaTex expression describing the formula.

boundingPolygon
IReadOnlyList<PointF>

Bounding polygon of the formula.

span
DocumentSpan

Location of the formula in the reading order concatenated content.

confidence
Single

Confidence of correctly extracting the formula.

Returns

A new DocumentFormula instance for mocking.

Applies to