InDesign Server2025
API 20.5.0.49
Object

FindColorPreference

Find color preferences.

Preference FindColorPreference
Hierarchy

Application

FindColorPreference

Properties

NameType AccessDescription
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Swatch | NothingEnum
read/write The color to find. Can return: Swatch or NothingEnum enumerator.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Application readonly The parent of the FindColorPreference (a Application).
Object read/write A property that allows setting of several properties at the same time.
Real(0-100) | NothingEnum
read/write Tint to find. Can return: Real (0 - 100) or NothingEnum enumerator.
Real(0-100) | NothingEnum
read/write Lower limit of tint to find. Can return: Real (0 - 100) or NothingEnum enumerator.
Real(0-100) | NothingEnum
read/write Upper limit of tint to find. Can return: Real (0 - 100) or NothingEnum enumerator.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
FindColorPreference[]

Resolves the object specifier, creating an array of object references.

Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

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

String

Retrieves the object specifier.

Object of 4

Properties elsewhere that hold a FindColorPreference.

Return 1

Methods that return a FindColorPreference.