InDesign2026
API 21.5.1.73
Object

ClipboardPreference

Clipboard preferences.

Preference ClipboardPreference
Hierarchy

Application

ClipboardPreference

Properties

NameType AccessDescription
Boolean read/write If true, copies PDF to the clipboard.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Application readonly The parent of the ClipboardPreference (a Application).
Boolean read/write If true, objects cut or copied from different layers retain their layer assignment when pasted.
Boolean read/write If true, pastes PDF if available.
Boolean read/write If true, includes text attributes when pasting text.
Boolean read/write If true, preserves PDF data on the system clipboard when the application exits.
Object read/write A property that allows setting of several properties at the same time.
Boolean read/write If true, show auto style option.
Boolean read/write If true, show paste options on paste.

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.
ClipboardPreference[]

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

String

Retrieves the object specifier.

Object of 4

Properties elsewhere that hold a ClipboardPreference.

Return 1

Methods that return a ClipboardPreference.