Returns the writing mode of the encoder. The result value is on of the following:
HaruEncoder::WMODE_HORIZONTAL
HaruEncoder::WMODE_VERTICAL
Throws HaruException on error.
HaruException