InDesign Server2025
API 20.5.0.49
Collection of Library

Libraries

A collection of object libraries.

Properties

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

Methods

Library

Returns the Library with the specified index.

index Number The index.
Library

Creates a new object libary.

fullName File The library's path and file name.
withProperties? Object Initial values for properties of the new Library
Library

Returns any Library in the collection.

Number

Displays the number of elements in the Library.

Library[]

Returns every Library in the collection.

Library

Returns the first Library in the collection.

Library

Returns the Library with the specified index or name.

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

Returns the Library with the specified name.

name String The name.
Library[]

Returns the Libraries within the specified range.

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

Returns the last Library in the collection.

Library

Returns the middle Library in the collection.

Library

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

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

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

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

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

Object of 1

Properties elsewhere that hold a Libraries.