public sealed class PageRef : IMessage<Document.Types.PageAnchor.Types.PageRef>, IEquatable<Document.Types.PageAnchor.Types.PageRef>, IDeepCloneable<Document.Types.PageAnchor.Types.PageRef>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.PageAnchor.Types.PageRef.
Represents a weak reference to a page element within a document.
Implements
IMessage<Document.Types.PageAnchor.Types.PageRef>, IEquatable<Document.Types.PageAnchor.Types.PageRef>, IDeepCloneable<Document.Types.PageAnchor.Types.PageRef>, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
PageRef()
public PageRef()
PageRef(Document.Types.PageAnchor.Types.PageRef)
public PageRef(Document.Types.PageAnchor.Types.PageRef other)
Parameter | |
---|---|
Name | Description |
other | Document.Types.PageAnchor.Types.PageRef |
Properties
BoundingPoly
public BoundingPoly BoundingPoly { get; set; }
Optional. Identifies the bounding polygon of a layout element on the page.
Property Value | |
---|---|
Type | Description |
BoundingPoly |
Confidence
public float Confidence { get; set; }
Optional. Confidence of detected page element, if applicable. Range [0, 1]
.
Property Value | |
---|---|
Type | Description |
Single |
LayoutId
[Obsolete]
public string LayoutId { get; set; }
Optional. Deprecated. Use [PageRef.bounding_poly][google.cloud.documentai.v1.Document.PageAnchor.PageRef.bounding_poly] instead.
Property Value | |
---|---|
Type | Description |
String |
LayoutType
public Document.Types.PageAnchor.Types.PageRef.Types.LayoutType LayoutType { get; set; }
Optional. The type of the layout element that is being referenced if any.
Property Value | |
---|---|
Type | Description |
Document.Types.PageAnchor.Types.PageRef.Types.LayoutType |
Page
public long Page { get; set; }
Required. Index into the [Document.pages][google.cloud.documentai.v1.Document.pages] element, for example using [Document.pages][page_refs.page] to locate the related page element. This field is skipped when its value is the default 0. See https://developers.google.com/protocol-buffers/docs/proto3#json.
Property Value | |
---|---|
Type | Description |
Int64 |