Description

Count of images in the Images collection

Property type

A Long value.  

Syntax

object.Count

The Count Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McImages.

Remarks

There are usually more images being maintained by the system than those that are in the collection. Temporary images are created for a number of purposes with the mcicfNoAddToCollection mcImageCreateFlags bit set in the Flags argument to the Add method. Some of these temporary images may be persistent; for example, the image on the clipboard is not part of the collection and it is kept until something else is put on the clipboard or until the application closes. Or some macro may be holding a reference on such a temporary image. The example shows how to get a count of both images in the Images collection and all images, including those not in the collection.