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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPageRefs

One or more references to visual page elements

Parameter
NameDescription
var array<Google\Cloud\DocumentAI\V1\Document\PageAnchor\PageRef>
Returns
TypeDescription
$this