Google Cloud Document Ai V1 Client - Class PageAnchor (2.0.0)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class PageAnchor.

Referencing the visual context of the entity in the Document.pages. Page anchors can be cross-page, consist of multiple bounding polygons and optionally reference specific layout element types.

Generated from protobuf message google.cloud.documentai.v1.Document.PageAnchor

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ page_refs array<Google\Cloud\DocumentAI\V1\Document\PageAnchor\PageRef>

One or more references to visual page elements

getPageRefs

One or more references to visual page elements

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPageRefs

One or more references to visual page elements

Parameter
Name Description
var array<Google\Cloud\DocumentAI\V1\Document\PageAnchor\PageRef>
Returns
Type Description
$this