Imagick::getOption

(PECL imagick 2, PECL imagick 3)

Imagick::getOptionReturns a value associated with the specified key

说明

public Imagick::getOption ( string $key ) : string

Returns a value associated within the object for the specified key.

参数

key

The name of the option

返回值

Returns a value associated with a wand and the specified key.

错误/异常

错误时抛出 ImagickException。

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有