count

Syntax

ManagedImages.count();

Parameters

Return value number

The number of ManagedImage objects in the collection.

Description

The count() method returns the number of ManagedImage objects within the ManagedImages collection.

Examples

Count the managed images in the active document

// Count the managed images in the active document.
var count = app.activeDocument.managedImages.count();
alert("Number of managed images: " + count);

Supported versions

Adobe Version Supported
2023
2024
2025
2026