GoLang HaruEncoder::getWritingMode

request it (165)
GoLang replacement for PHP's HaruEncoder::getWritingMode [edit | history]

Do you know a GoLang replacement for PHP's HaruEncoder::getWritingMode? Write it!

PHP HaruEncoder::getWritingMode

PHP original manual for HaruEncoder::getWritingMode [ show | php.net ]


(PECL haru >= 0.0.1)

HaruEncoder::getWritingModeGet the writing mode of the encoder


int HaruEncoder::getWritingMode ( void )

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.