Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::Page::Dimension (v1.3.0)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::Document::Page::Dimension.

Dimension for the page.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#height

def height() -> ::Float
Returns
  • (::Float) — Page height.

#height=

def height=(value) -> ::Float
Parameter
  • value (::Float) — Page height.
Returns
  • (::Float) — Page height.

#unit

def unit() -> ::String
Returns
  • (::String) — Dimension unit.

#unit=

def unit=(value) -> ::String
Parameter
  • value (::String) — Dimension unit.
Returns
  • (::String) — Dimension unit.

#width

def width() -> ::Float
Returns
  • (::Float) — Page width.

#width=

def width=(value) -> ::Float
Parameter
  • value (::Float) — Page width.
Returns
  • (::Float) — Page width.