Adobe InCopy CS6 (8.0) Object Model JS: PICTs

InCopy CS6

Class

PICTs

 A collection of PICT graphics.

See also PICT.

QuickLinks

[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

PICT [] (index: number)
Returns the PICT with the specified index.

ParameterTypeDescription
indexnumberThe index.

PICT anyItem ()
Returns any PICT in the collection.

number count ()
Displays the number of elements in the PICT.

Array of PICT everyItem ()
Returns every PICT in the collection.

PICT firstItem ()
Returns the first PICT in the collection.

PICT item (index: varies)
Returns the PICT with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

PICT itemByID (id: number)
Returns the PICT with the specified ID.

ParameterTypeDescription
idnumberThe ID.

PICT itemByName (name: string)
Returns the PICT with the specified name.

ParameterTypeDescription
namestringThe name.

Array of PICT itemByRange (from: varies, to: varies)
Returns the PICTs within the specified range.

ParameterTypeDescription
fromLong Integer
PICT
String
The PICT, index, or name at the beginning of the range. Can accept: PICT, Long Integer or String.
toLong Integer
PICT
String
The PICT, index, or name at the end of the range. Can accept: PICT, Long Integer or String.

PICT lastItem ()
Returns the last PICT in the collection.

PICT middleItem ()
Returns the middle PICT in the collection.

PICT nextItem (obj: PICT)
Returns the PICT whose index follows the specified PICT in the collection.

ParameterTypeDescription
objPICTThe PICT whose index comes before the desired PICT.

PICT previousItem (obj: PICT)
Returns the PICT with the index previous to the specified index.

ParameterTypeDescription
objPICTThe index of the PICT that follows the desired PICT.

string toSource ()
Generates a string which, if executed, will return the PICT.

Element of

Button.picts

CheckBox.picts

ComboBox.picts

GraphicLine.picts

ListBox.picts

MultiStateObject.picts

Oval.picts

PlaceGun.picts

Polygon.picts

RadioButton.picts

Rectangle.picts

SignatureField.picts

SplineItem.picts

State.picts

TextBox.picts

XMLElement.picts

Jongware, 29-Apr-2012 v3.0.3iContents :: Index