A collections class allowing access to the document's CountItem.
https://developer.adobe.com/photoshop/uxp/2022/ps_reference/classes/countitems/
Number of CountItem elements in this collection.
24.1
The owner Document of this CountItems collection.
The CountItems collection's typename.
Activates a Count Item group by its index.
Adds a new CountItem to the collection.
app.activeDocument.countItems.add({x: 20, y: 20}); Copy
app.activeDocument.countItems.add({x: 20, y: 20});
Creates a new Count Item group.
Retrieves all CountItem objects from this collection.
app.activeDocument.countItems.getAll(); Copy
app.activeDocument.countItems.getAll();
Clears all CountItem objects from this collection.
app.activeDocument.countItems.removeAllFromActiveGroup(); Copy
app.activeDocument.countItems.removeAllFromActiveGroup();
Removes a Count Item group by its index.
Renames the currently active Count Item group.
Sets the Color of the Count Item marker and label.
Sets the Count Item label (the number) size.
8..72
8 Copy
8
Sets the Count Item marker (the dot) size.
1..10
2 Copy
2
Toggles the visibility of the currently selected Count Item group.
A collections class allowing access to the document's CountItem.
See
https://developer.adobe.com/photoshop/uxp/2022/ps_reference/classes/countitems/