Partager via


DetectedTextBlock Class

Definition

Represents a single block of detected text in the image.

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

Properties

Lines

A list of text lines in this block.

Explicit Interface Implementations

IJsonModel<DetectedTextBlock>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DetectedTextBlock>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DetectedTextBlock>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DetectedTextBlock>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DetectedTextBlock>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to