DocumentAnalysisModelFactory.DocumentBarcode 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 DocumentBarcode.
public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentBarcode DocumentBarcode (Azure.AI.FormRecognizer.DocumentAnalysis.DocumentBarcodeKind 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 DocumentBarcode : Azure.AI.FormRecognizer.DocumentAnalysis.DocumentBarcodeKind * string * System.Collections.Generic.IReadOnlyList<System.Drawing.PointF> * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan * single -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentBarcode
Public Shared Function DocumentBarcode (Optional kind As DocumentBarcodeKind = Nothing, Optional value As String = Nothing, Optional boundingPolygon As IReadOnlyList(Of PointF) = Nothing, Optional span As DocumentSpan = Nothing, Optional confidence As Single = 0) As DocumentBarcode
Parameters
- kind
- DocumentBarcodeKind
Barcode kind.
- value
- String
Barcode value.
- boundingPolygon
- IReadOnlyList<PointF>
Bounding polygon of the barcode.
- span
- DocumentSpan
Location of the barcode in the reading order concatenated content.
- confidence
- Single
Confidence of correctly extracting the barcode.
Returns
A new DocumentBarcode instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET