<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.imagick.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'imagick.getimageindex.php',
    1 => 'Imagick::getImageIndex',
    2 => 'Gets the index of the current active image',
  ),
  'up' => 
  array (
    0 => 'class.imagick.php',
    1 => 'Imagick',
  ),
  'prev' => 
  array (
    0 => 'imagick.getimagehistogram.php',
    1 => 'Imagick::getImageHistogram',
  ),
  'next' => 
  array (
    0 => 'imagick.getimageinterlacescheme.php',
    1 => 'Imagick::getImageInterlaceScheme',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/imagick/imagick/getimageindex.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="imagick.getimageindex" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::getImageIndex</h1>
  <p class="verinfo">(PECL imagick 2, PECL imagick 3)</p><p class="refpurpose"><span class="refname">Imagick::getImageIndex</span> &mdash; <span class="dc-title">Gets the index of the current active image</span></p>

 </div>

 <div id="imagick.getimageindex-refsynopsisdiv">
   <div class="warning"><strong class="warning">警告</strong><p class="simpara">此函数在 Imagick 3.4.4 中被 <em>废弃</em>,强烈建议不要应用此函数。</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-imagick.getimageindex-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Imagick::getImageIndex</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   Returns the index of the current active image within the Imagick object.
   This method has been deprecated. See
   <span class="function"><a href="imagick.getiteratorindex.php" class="function">Imagick::getIteratorIndex()</a></span>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagick.getimageindex-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-imagick.getimageindex-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns an integer containing the index of the image in the stack.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-imagick.getimageindex-errors">
  <h3 class="title">错误/异常</h3>
  <p class="para">
   错误时抛出 ImagickException。
  </p>
 </div>


</div><?php manual_footer($setup); ?>