共用方式為


BoundingRegion Struct

Definition

Bounding polygon on a specific page of the input.

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

Constructors

BoundingRegion()

Initializes a new instance of BoundingRegion for deserialization.

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.

IJsonModel<Object>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<Object>.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.

IPersistableModel<Object>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<Object>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<Object>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to