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 | |
---|---|
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
Generated from protobuf field repeated .google.cloud.documentai.v1.Document.PageAnchor.PageRef page_refs = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setPageRefs
One or more references to visual page elements
Generated from protobuf field repeated .google.cloud.documentai.v1.Document.PageAnchor.PageRef page_refs = 1;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\DocumentAI\V1\Document\PageAnchor\PageRef>
|
Returns | |
---|---|
Type | Description |
$this |