您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

HaruEncoder::getWritingMode

(PECL haru:0.0.1)

HaruEncoder::getWritingMode — Get the writing mode of the encoder

说明

int HaruEncoder::getWritingMode ( void )

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 HaruException on error.