DocumentLine Class

Definition

A content line object consisting of an adjacent sequence of content elements, such as words and selection marks.

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

Properties

Content

Concatenated content of the contained elements in reading order.

Polygon

Bounding polygon of the line, 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.

Spans

Location of the line in the reading order concatenated content.

Explicit Interface Implementations

IJsonModel<DocumentLine>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DocumentLine>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DocumentLine>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentLine>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DocumentLine>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to