CImageSet:Count


The Count method returns the number of images in the CImageSet.

Syntax

number = CImageSet:Count()

where

    number is the number of images.

    On success, this method returns the number of images > 0.

    On failure, this method returns 0.

Example

Suppose a CImageSet assigned to S contains 5 images. Then

     nImages = S:Count()

returns the value nImages = 5.

Related Topics

CImageSet class