InDesign2026
API 21.5.1.73
Object

GalleyPreference

Galley preferences.

Preference GalleyPreference
Hierarchy

Application | Document

GalleyPreference

Properties

NameType AccessDescription
AntiAliasType
read/write The type of text anti-aliasing to use in story and galley views.
3 Reals (0 - 255)[] | InCopyUIColors[]
+53 more
read/write The background color, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as an InCopy UI color. . Can return: Array of 3 Reals (0 - 255) or InCopyUIColors enumerator.
Boolean read/write If true, the cursor blinks.
CursorTypes
read/write The cursor type for galley and story views.
String read/write Font family name to use for text display.
Number | String unit read/write Size to use for text display.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number | String unit read/write Info column width.
Boolean readonly Returns true if the object specifier resolves to valid objects.
LineSpacingType
read/write Amount of spacing between lines.
Application | Document readonly The parent of the GalleyPreference (a Application or Document).
Object read/write A property that allows setting of several properties at the same time.
Boolean read/write If true, displays the depth ruler.
Boolean read/write If true, display the Info column.
Boolean read/write If true, show paragraph break marks.
Boolean read/write If true, show paragraph style names.
Boolean read/write If true, galley text is anti-aliased.
3 Reals (0 - 255)[] | InCopyUIColors[]
+53 more
read/write The text color, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as an InCopy UI color. Can return: Array of 3 Reals (0 - 255) or InCopyUIColors 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.
GalleyPreference[]

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 GalleyPreference.

String

Retrieves the object specifier.

Object of 5

Properties elsewhere that hold a GalleyPreference.

Return 1

Methods that return a GalleyPreference.