InDesign Server2025
API 20.5.0.49
Collection of Image

Images

A collection of bitmap images in any bitmap file format (including TIFF, JPEG, or GIF).

Properties

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

Methods

Image

Returns the Image with the specified index.

index Number The index.
Image

Returns any Image in the collection.

Number

Displays the number of elements in the Image.

Image[]

Returns every Image in the collection.

Image

Returns the first Image in the collection.

Image

Returns the Image with the specified index or name.

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

Returns the Image with the specified ID.

id Number The ID.
Image

Returns the Image with the specified name.

name String The name.
Image[]

Returns the Images within the specified range.

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

Returns the last Image in the collection.

Image

Returns the middle Image in the collection.

Image

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

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

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

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

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

Object of 19

Properties elsewhere that hold a Images.