# Gmagick::setimageunits

(PECL gmagick >= Unknown)

Gmagick::setimageunits — Sets the image units of resolution

### 说明

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

Sets the image units of resolution.

### 参数

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

### 返回值

The Gmagick object.

### 错误／异常

错误时抛出 GmagickException。

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open