Class Document.Types.PageAnchor.Types.PageRef (1.0.0-beta03)

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

Represents a weak reference to a page element within a document.

Inheritance

Object > Document.Types.PageAnchor.Types.PageRef

Namespace

Google.Cloud.DocumentAI.V1Beta2

Assembly

Google.Cloud.DocumentAI.V1Beta2.dll

Constructors

PageRef()

public PageRef()

PageRef(Document.Types.PageAnchor.Types.PageRef)

public PageRef(Document.Types.PageAnchor.Types.PageRef other)
Parameter
NameDescription
otherDocument.Types.PageAnchor.Types.PageRef

Properties

LayoutId

public string LayoutId { get; set; }

Optional. The [Page.Layout.id][google.cloud.documentai.v1beta2.Document.Page.Layout.id] on the page that this element references. If [LayoutRef.type][] is specified this id must also be specified.

Property Value
TypeDescription
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 not specified the whole page is assumed to be referenced.

Property Value
TypeDescription
Document.Types.PageAnchor.Types.PageRef.Types.LayoutType

Page

public long Page { get; set; }

Required. Index into the [Document.pages][google.cloud.documentai.v1beta2.Document.pages] element

Property Value
TypeDescription
Int64