InDesign Server2025
API 20.5.0.49
Collection of Tint

Tints

A collection of tints.

Properties

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

Methods

Tint

Returns the Tint with the specified index.

index Number The index.
Tint

Creates a new tint swatch.

baseColor Color The color that the tint is based upon.
withProperties? Object Initial values for properties of the new Tint
Tint

Returns any Tint in the collection.

Number

Displays the number of elements in the Tint.

Tint[]

Returns every Tint in the collection.

Tint

Returns the first Tint in the collection.

Tint

Returns the Tint with the specified index or name.

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

Returns the Tint with the specified ID.

id Number The ID.
Tint

Returns the Tint with the specified name.

name String The name.
Tint[]

Returns the Tints within the specified range.

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

Returns the last Tint in the collection.

Tint

Returns the middle Tint in the collection.

Tint

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

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

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

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

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

Object of 2

Properties elsewhere that hold a Tints.