Condividi tramite


DocumentBarcode Class

Definition

A barcode object.

public class DocumentBarcode : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.DocumentBarcode>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.DocumentBarcode>
type DocumentBarcode = class
    interface IJsonModel<DocumentBarcode>
    interface IPersistableModel<DocumentBarcode>
Public Class DocumentBarcode
Implements IJsonModel(Of DocumentBarcode), IPersistableModel(Of DocumentBarcode)
Inheritance
DocumentBarcode
Implements

Properties

Confidence

Confidence of correctly extracting the barcode.

Kind

Barcode kind.

Polygon

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

Location of the barcode in the reading order concatenated content.

Value

Barcode value.

Explicit Interface Implementations

IJsonModel<DocumentBarcode>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DocumentBarcode>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DocumentBarcode>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentBarcode>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DocumentBarcode>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to