count

Syntax

ManagedLayoutModules.count();

Parameters

Return value number

The number of ManagedLayoutModule objects in the collection.

Description

The count() method returns the number of ManagedLayoutModule objects within the ManagedLayoutModules collection.

Examples

Count the managed layout modules in the active document

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

Supported versions

Adobe Version Supported
2023
2024
2025
2026