InDesign Server2025
API 20.5.0.49
Collection of Book

Books

A collection of books.

Properties

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

Methods

Book

Returns the Book with the specified index.

index Number The index.
Book

Creates a new book.

fullName File The full path name of the new book file, including the book file extension '.indb'.
withProperties? Object Initial values for properties of the new Book
Book

Returns any Book in the collection.

Number

Displays the number of elements in the Book.

Book[]

Returns every Book in the collection.

Book

Returns the first Book in the collection.

Book

Returns the Book with the specified index or name.

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

Returns the Book with the specified name.

name String The name.
Book[]

Returns the Books within the specified range.

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

Returns the last Book in the collection.

Book

Returns the middle Book in the collection.

Book

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

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

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

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

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

Object of 1

Properties elsewhere that hold a Books.