HaruEncoder::getWritingMode

(PECL haru >= 0.0.1)

HaruEncoder::getWritingModeGet the writing mode of the encoder

Descrição

HaruEncoder::getWritingMode ( void ) : int

Get the writing mode of the encoder.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

Returns the writing mode of the encoder. The result value is on of the following:

  • HaruEncoder::WMODE_HORIZONTAL - horizontal writing mode.
  • HaruEncoder::WMODE_VERTICAL - vertical writing mode.

Erros

Lança uma HaruException em erros.