CountItems
A collections class allowing access to the document's CountItem.
Properties
Methods
activateGroupByIndex
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> void
Activates a Count Item group by its index.
Parameters
indexadd
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> CountItem
Adds a new CountItem to the collection.
app.activeDocument.countItems.add({x: 20, y: 20});
Parameters
positionposition.xposition.ycreateGroup
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> void
Creates a new Count Item group.
Parameters
groupNamegetAll
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> CountItem[]
Retrieves all CountItem objects from this collection.
app.activeDocument.countItems.getAll();
removeAllFromActiveGroup
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> void
Clears all CountItem objects from this collection.
app.activeDocument.countItems.removeAllFromActiveGroup();
removeGroupByIndex
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> void
Removes a Count Item group by its index.
Parameters
indexrenameActiveGroup
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> void
Renames the currently active Count Item group.
Parameters
groupNamesetActiveColor
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> void
Sets the Color of the Count Item marker and label.
Parameters
colorsetActiveLabelSize
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> void
Sets the Count Item label (the number) size.
Parameters
sizesetActiveMarkerSize
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> void
Sets the Count Item marker (the dot) size.
Parameters
sizetoggleActiveGroupVisibility
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">24.1</span>
<br/> void
Toggles the visibility of the currently selected Count Item group.
Parameters
isVisible