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

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

Represents where the block starts and ends in the document.

Generated from protobuf message google.cloud.documentai.v1.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan

Namespace

Google \ Cloud \ DocumentAI \ V1 \ Document \ DocumentLayout \ DocumentLayoutBlock

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ page_start int

Page where block starts in the document.

↳ page_end int

Page where block ends in the document.

getPageStart

Page where block starts in the document.

Returns
Type Description
int

setPageStart

Page where block starts in the document.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageEnd

Page where block ends in the document.

Returns
Type Description
int

setPageEnd

Page where block ends in the document.

Parameter
Name Description
var int
Returns
Type Description
$this