= Unknown)Gmagick::setimageunits — Sets the image units of resolution說明public Gmagick::setimageunits(int $resolut">

Gmagick::setimageunits

(PECL gmagick >= Unknown)

Gmagick::setimageunitsSets the image units of resolution

說明

public Gmagick::setimageunits(int $resolution): Gmagick

Sets the image units of resolution.

參數(shù)

resolution

One of the Resolution constant (Gmagick::RESOLUTION_*).

返回值

The Gmagick object.

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。