pictureCount

Type: Integer

Availability: Run time only

The pictureCount property of the Picture class contains the maximum index of the picture array associated with a picture control. This array can be used to hold an array of pictures that are selected for display based on JADE logic. Use the setPicture method to load pictures into the array.

Setting the pictureCount property to the maximum index value before loading a picture is more efficient, as the required array can be preallocated. If the setPicture method is called with an index greater than the current value of the pictureCount property, the pictureCount property is enlarged accordingly.

Use the pictureIndex property to control the picture that is currently displayed.

Changing the value of the pictureCount property closes any animated GIF operation of a Picture or JadeMask control (but leaves the value of the picture property unchanged).