array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'gmagick.setimageindex.php', 1 => 'Gmagick::setimageindex', 2 => 'Set the iterator to the position in the image list specified with the index parameter', ), 'up' => array ( 0 => 'class.gmagick.php', 1 => 'Gmagick', ), 'prev' => array ( 0 => 'gmagick.setimagegreenprimary.php', 1 => 'Gmagick::setimagegreenprimary', ), 'next' => array ( 0 => 'gmagick.setimageinterlacescheme.php', 1 => 'Gmagick::setimageinterlacescheme', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagick/setimageindex.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Gmagick::setimageindex

(PECL gmagick >= Unknown)

Gmagick::setimageindexSet the iterator to the position in the image list specified with the index parameter

说明

public Gmagick::setimageindex(int $index): Gmagick

Set the iterator to the position in the image list specified with the index parameter.

参数

index

The scene number.

返回值

The Gmagick object.

错误/异常

错误时抛出 GmagickException