array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'imagick.setimageunits.php', 1 => 'Imagick::setImageUnits', 2 => 'Sets the image units of resolution', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.setimagetype.php', 1 => 'Imagick::setImageType', ), 'next' => array ( 0 => 'imagick.setimagevirtualpixelmethod.php', 1 => 'Imagick::setImageVirtualPixelMethod', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/setimageunits.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Imagick::setImageUnits

(PECL imagick 2, PECL imagick 3)

Imagick::setImageUnitsSets the image units of resolution

说明

public Imagick::setImageUnits(int $units): bool

Sets the image units of resolution.

参数

units

返回值

成功时返回 true