DocumentPage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Content and layout elements extracted from a page from the input.
public class DocumentPage : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.DocumentPage>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.DocumentPage>
type DocumentPage = class
interface IJsonModel<DocumentPage>
interface IPersistableModel<DocumentPage>
Public Class DocumentPage
Implements IJsonModel(Of DocumentPage), IPersistableModel(Of DocumentPage)
- Inheritance
-
DocumentPage
- Implements
Properties
Angle |
The general orientation of the content in clockwise direction, measured in degrees between (-180, 180]. |
Barcodes |
Extracted barcodes from the page. |
Formulas |
Extracted formulas from the page. |
Height |
The height of the image/PDF in pixels/inches, respectively. |
Lines |
Extracted lines from the page, potentially containing both textual and visual elements. |
PageNumber |
1-based page number in the input document. |
SelectionMarks |
Extracted selection marks from the page. |
Spans |
Location of the page in the reading order concatenated content. |
Unit |
The unit used by the width, height, and polygon properties. For images, the unit is "pixel". For PDF, the unit is "inch". |
Width |
The width of the image/PDF in pixels/inches, respectively. |
Words |
Extracted words from the page. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<DocumentPage>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DocumentPage>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DocumentPage>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DocumentPage>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DocumentPage>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |