DocumentIntelligenceModelFactory.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.DocumentIntelligence.DocumentBarcode DocumentBarcode (Azure.AI.DocumentIntelligence.DocumentBarcodeKind kind = default, string value = default, System.Collections.Generic.IEnumerable<float> polygon = default, Azure.AI.DocumentIntelligence.DocumentSpan span = default, float confidence = 0);
static member DocumentBarcode : Azure.AI.DocumentIntelligence.DocumentBarcodeKind * string * seq<single> * Azure.AI.DocumentIntelligence.DocumentSpan * single -> Azure.AI.DocumentIntelligence.DocumentBarcode
Public Shared Function DocumentBarcode (Optional kind As DocumentBarcodeKind = Nothing, Optional value As String = Nothing, Optional polygon As IEnumerable(Of Single) = Nothing, Optional span As DocumentSpan = Nothing, Optional confidence As Single = 0) As DocumentBarcode
Parameters
- kind
- DocumentBarcodeKind
Barcode kind.
- value
- String
Barcode value.
- polygon
- IEnumerable<Single>
Bounding polygon of the barcode, 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 barcode in the reading order concatenated content.
- confidence
- Single
Confidence of correctly extracting the barcode.
Returns
A new DocumentBarcode instance for mocking.
Applies to
Azure SDK for .NET