InDesign2026
API 21.5.1.73
Collection of PICT

PICTs

A collection of PICT graphics.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

PICT

Returns the PICT with the specified index.

index Number The index.
PICT

Returns any PICT in the collection.

Number

Displays the number of elements in the PICT.

PICT[]

Returns every PICT in the collection.

PICT

Returns the first PICT in the collection.

PICT

Returns the PICT with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
PICT

Returns the PICT with the specified ID.

id Number The ID.
PICT

Returns the PICT with the specified name.

name String The name.
PICT[]

Returns the PICTs within the specified range.

from LongInteger | PICT | String The PICT, index, or name at the beginning of the range. Can accept: PICT, Long Integer or String.
to LongInteger | PICT | String The PICT, index, or name at the end of the range. Can accept: PICT, Long Integer or String.
PICT

Returns the last PICT in the collection.

PICT

Returns the middle PICT in the collection.

PICT

Returns the PICT whose index follows the specified PICT in the collection.

obj PICT The PICT whose index comes before the desired PICT.
PICT

Returns the PICT with the index previous to the specified index.

obj PICT The index of the PICT that follows the desired PICT.
String

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

Object of 17

Properties elsewhere that hold a PICTs.