Reference documentation and code samples for the Google Cloud Document Ai V1 Client class Dimension.
Dimension for the page.
Generated from protobuf message google.cloud.documentai.v1.Document.Page.Dimension
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ width
float
Page width.
↳ height
float
Page height.
↳ unit
string
Dimension unit.
getWidth
Page width.
Generated from protobuf field float width = 1;
float
setWidth
Page width.
Generated from protobuf field float width = 1;
var
float
$this
getHeight
Page height.
Generated from protobuf field float height = 2;
float
setHeight
Page height.
Generated from protobuf field float height = 2;
var
float
$this
getUnit
Dimension unit.
Generated from protobuf field string unit = 3;
string
setUnit
Dimension unit.
Generated from protobuf field string unit = 3;
var
string
$this