(PECL haru >= 0.0.1)
Get the writing mode of the encoder
int HaruEncoder::getWritingMode ( void )
Get the writing mode of the encoder.
Returns:
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.
Exception:
Throws a HaruException on error.
Please login to continue.