JavaScript Scripting Reference
CountItems
The collection of
Note:
CountItem
Because the
name,
docRef.countItems.removeAll()
The following sample uses the
docRef.CountItems.removeAll()
Properties
Property
length
parent
typename
Methods
Method
index
(itemKey)
add
(position)
getByName
(name)
removeAll
()
objects in the document. See
CountItem
is available in the Extended Version only.
class is also a property of the
CountItems
, rather than the class name,
countItems
Value Type
number (long)
object (Document)
string
Parameter Type
number
array of UnitValue
string
Adobe Photoshop CS3
CountItem
CountItems
object incorrectly:
CountItems
What it is
Read-only. The number of elements in the
collection.
Read-only. The
Read-only. The class name of the referenced
object.
Returns
CountItem
CountItem
CountItem
JavaScript Object Reference
.
Document
object, you use the property
, in your code. For example:
object's container.
CountItems
What it does
Gets an element from the
collection.
Creates a new
CountItem
Parameter
position
the horizontal and vertical positions,
respectively, of the
Note:
For information about the
UnitValue
JavaScript Tools Guide
Get the first element in the
collection with the
CountItems
provided name.
Removes all
CountItem
the
collection
CountItems
85
CountItems
CountItems
CountItems
object.
(x,y) represents
object.
CountItem
object, see the
objects from
.