Class Document (2.4.0)

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

A structured text document e.g. a PDF.

Inheritance

Object > Document

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

Document()

public Document()

Document(Document)

public Document(Document other)
Parameter
NameDescription
otherDocument

Properties

DocumentDimensions

public DocumentDimensions DocumentDimensions { get; set; }

The dimensions of the page in the document.

Property Value
TypeDescription
DocumentDimensions

DocumentText

public TextSnippet DocumentText { get; set; }

The plain text version of this document.

Property Value
TypeDescription
TextSnippet

InputConfig

public DocumentInputConfig InputConfig { get; set; }

An input config specifying the content of the document.

Property Value
TypeDescription
DocumentInputConfig

Layout

public RepeatedField<Document.Types.Layout> Layout { get; }

Describes the layout of the document. Sorted by [page_number][].

Property Value
TypeDescription
RepeatedField<Document.Types.Layout>

PageCount

public int PageCount { get; set; }

Number of pages in the document.

Property Value
TypeDescription
Int32