Partilhar via


BoundingRegion Class

Definition

Bounding polygon on a specific page of the input.

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

Properties

PageNumber

1-based page number of page containing the bounding region.

Polygon

Bounding polygon on the page, or the entire page if not specified. 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.

Explicit Interface Implementations

IJsonModel<BoundingRegion>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BoundingRegion>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BoundingRegion>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BoundingRegion>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BoundingRegion>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to