Class Document
A structured text document e.g. a PDF.
Inheritance
System.Object
Document
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.AutoML.V1
Assembly: Google.Cloud.AutoML.V1.dll
Syntax
public sealed class Document : IMessage<Document>, IEquatable<Document>, IDeepCloneable<Document>, IBufferMessage, IMessage
Constructors
Document()
Declaration
public Document()
Document(Document)
Declaration
public Document(Document other)
Parameters
Type | Name | Description |
---|---|---|
Document | other |
Properties
DocumentDimensions
The dimensions of the page in the document.
Declaration
public DocumentDimensions DocumentDimensions { get; set; }
Property Value
Type | Description |
---|---|
DocumentDimensions |
DocumentText
The plain text version of this document.
Declaration
public TextSnippet DocumentText { get; set; }
Property Value
Type | Description |
---|---|
TextSnippet |
InputConfig
An input config specifying the content of the document.
Declaration
public DocumentInputConfig InputConfig { get; set; }
Property Value
Type | Description |
---|---|
DocumentInputConfig |
Layout
Describes the layout of the document. Sorted by [page_number][].
Declaration
public RepeatedField<Document.Types.Layout> Layout { get; }
Property Value
Type | Description |
---|---|
RepeatedField<Document.Types.Layout> |
PageCount
Number of pages in the document.
Declaration
public int PageCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |