InDesign Server2025
API 20.5.0.49
Object

TransformAttributeOption

Options for applying layout attributes to any page item.

Preference TransformAttributeOption
Hierarchy

ObjectStyle

TransformAttributeOption

Properties

NameType AccessDescription
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.
ObjectStyle readonly The parent of the TransformAttributeOption (a ObjectStyle).
Object read/write A property that allows setting of several properties at the same time.
Number | String unit read/write The height of the object, defined by the object style.
TransformPositionReference
read/write The reference point to be used while setting the X attribute of object style.
AnchorPoint
read/write Option to specify the achor point to be used by the style for anchoring the object while applying the position.
TransformPositionReference
read/write The reference point to be used while setting the Y attribute of object style.
Number | String unit read/write The width of the object, defined by the object style.
Number | String unit read/write The left position of the object, defined by the object style.
Number | String unit read/write The top position of the object, defined by the object style.

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

String

Retrieves the object specifier.

Object of 4

Properties elsewhere that hold a TransformAttributeOption.

Return 1

Methods that return a TransformAttributeOption.