Class Document.Types.Page (1.5.0)

public sealed class Page : IMessage<Document.Types.Page>, IEquatable<Document.Types.Page>, IDeepCloneable<Document.Types.Page>, IBufferMessage, IMessage

A page in a [Document][google.cloud.documentai.v1.Document].

Inheritance

Object > Document.Types.Page

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

Page()

public Page()

Page(Document.Types.Page)

public Page(Document.Types.Page other)
Parameter
NameDescription
otherDocument.Types.Page

Properties

Blocks

public RepeatedField<Document.Types.Page.Types.Block> Blocks { get; }

A list of visually detected text blocks on the page. A block has a set of lines (collected into paragraphs) that have a common line-spacing and orientation.

Property Value
TypeDescription
RepeatedField<Document.Types.Page.Types.Block>

DetectedLanguages

public RepeatedField<Document.Types.Page.Types.DetectedLanguage> DetectedLanguages { get; }

A list of detected languages together with confidence.

Property Value
TypeDescription
RepeatedField<Document.Types.Page.Types.DetectedLanguage>

Dimension

public Document.Types.Page.Types.Dimension Dimension { get; set; }

Physical dimension of the page.

Property Value
TypeDescription
Document.Types.Page.Types.Dimension

FormFields

public RepeatedField<Document.Types.Page.Types.FormField> FormFields { get; }

A list of visually detected form fields on the page.

Property Value
TypeDescription
RepeatedField<Document.Types.Page.Types.FormField>

Image

public Document.Types.Page.Types.Image Image { get; set; }

Rendered image for this page. This image is preprocessed to remove any skew, rotation, and distortions such that the annotation bounding boxes can be upright and axis-aligned.

Property Value
TypeDescription
Document.Types.Page.Types.Image

Layout

public Document.Types.Page.Types.Layout Layout { get; set; }

[Layout][google.cloud.documentai.v1.Document.Page.Layout] for the page.

Property Value
TypeDescription
Document.Types.Page.Types.Layout

Lines

public RepeatedField<Document.Types.Page.Types.Line> Lines { get; }

A list of visually detected text lines on the page. A collection of tokens that a human would perceive as a line.

Property Value
TypeDescription
RepeatedField<Document.Types.Page.Types.Line>

PageNumber

public int PageNumber { get; set; }

1-based index for current [Page][google.cloud.documentai.v1.Document.Page] in a parent [Document][google.cloud.documentai.v1.Document]. Useful when a page is taken out of a [Document][google.cloud.documentai.v1.Document] for individual processing.

Property Value
TypeDescription
Int32

Paragraphs

public RepeatedField<Document.Types.Page.Types.Paragraph> Paragraphs { get; }

A list of visually detected text paragraphs on the page. A collection of lines that a human would perceive as a paragraph.

Property Value
TypeDescription
RepeatedField<Document.Types.Page.Types.Paragraph>

Provenance

public Document.Types.Provenance Provenance { get; set; }

The history of this page.

Property Value
TypeDescription
Document.Types.Provenance

Symbols

public RepeatedField<Document.Types.Page.Types.Symbol> Symbols { get; }

A list of visually detected symbols on the page.

Property Value
TypeDescription
RepeatedField<Document.Types.Page.Types.Symbol>

Tables

public RepeatedField<Document.Types.Page.Types.Table> Tables { get; }

A list of visually detected tables on the page.

Property Value
TypeDescription
RepeatedField<Document.Types.Page.Types.Table>

Tokens

public RepeatedField<Document.Types.Page.Types.Token> Tokens { get; }

A list of visually detected tokens on the page.

Property Value
TypeDescription
RepeatedField<Document.Types.Page.Types.Token>

Transforms

public RepeatedField<Document.Types.Page.Types.Matrix> Transforms { get; }

Transformation matrices that were applied to the original document image to produce [Page.image][google.cloud.documentai.v1.Document.Page.image].

Property Value
TypeDescription
RepeatedField<Document.Types.Page.Types.Matrix>

VisualElements

public RepeatedField<Document.Types.Page.Types.VisualElement> VisualElements { get; }

A list of detected non-text visual elements e.g. checkbox, signature etc. on the page.

Property Value
TypeDescription
RepeatedField<Document.Types.Page.Types.VisualElement>