<doc>
  <legacy_id>2272</legacy_id>
  <name>frameCount</name>
  <type>property</type>
  <syntax>
    <example>get the frameCount of <i>image</i></example>
  </syntax>
  <library></library>
  <objects>
    <image/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Images &amp; Multimedia</category>
  </classification>
  <references>
    <property tag="currentFrame">currentFrame Property</property>
    <command tag="play">play Command</command>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Reports the number of <glossary tag="frame">frames</glossary> in an <glossary tag="animated GIF">animated GIF</glossary> <keyword tag="image">image</keyword>.</summary>
  <examples>
    <example>put the frameCount of image "Welcome Animation" into estNumberOfSecs</example>
  </examples>
  <description>
    <p>Use the <b>frameCount</b> <glossary tag="property">property</glossary> to determine the length of a <glossary tag="animated GIF">GIF animation</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>frameCount</b> of an <keyword tag="image">image</keyword> is a <href tag="../glossary/nondashnegative.xml">non-negative</href> <keyword tag="integer">integer</keyword>.</p><p/><p>This property is read-only and cannot be set.</p><p/><p><b>Comments:</b></p><p>If the image is not an animated GIF, its <b>frameCount</b> is zero.</p>
  </description>
</doc>