PHP 7.4.0RC2 Released!


(PECL haru >= 0.0.1)

HaruEncoder::getWritingModeGet the writing mode of the encoder


HaruEncoder::getWritingMode ( void ) : int

Get the writing mode of the encoder.


This function has no parameters.

Return Values

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.


Throws a HaruException on error.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top