public sealed class Document : IMessage<Document>, IEquatable<Document>, IDeepCloneable<Document>, IBufferMessage, IMessage
Reference documentation and code samples for the Google AutoML v1 API class Document.
A structured text document e.g. a PDF.
Namespace
Google.Cloud.AutoML.V1Assembly
Google.Cloud.AutoML.V1.dll
Constructors
Document()
public Document()
Document(Document)
public Document(Document other)
Parameter | |
---|---|
Name | Description |
other | Document |
Properties
DocumentDimensions
public DocumentDimensions DocumentDimensions { get; set; }
The dimensions of the page in the document.
Property Value | |
---|---|
Type | Description |
DocumentDimensions |
DocumentText
public TextSnippet DocumentText { get; set; }
The plain text version of this document.
Property Value | |
---|---|
Type | Description |
TextSnippet |
InputConfig
public DocumentInputConfig InputConfig { get; set; }
An input config specifying the content of the document.
Property Value | |
---|---|
Type | Description |
DocumentInputConfig |
Layout
public RepeatedField<Document.Types.Layout> Layout { get; }
Describes the layout of the document. Sorted by [page_number][].
Property Value | |
---|---|
Type | Description |
RepeatedFieldDocumentTypesLayout |
PageCount
public int PageCount { get; set; }
Number of pages in the document.
Property Value | |
---|---|
Type | Description |
int |