AnchoredObjectSetting
The settings for an anchored object.
Go to Property Listing | Method Listing
Methods:
addEventListener, getElements, insertAnchoredObject, releaseAnchoredObject, removeEventListener, toSource, toSpecifier
Objects:
AnchorPoint, AnchorPosition, AnchoredRelativeTo, Boolean, EventListeners, Events, HorizontalAlignment, Number, Object, String, VerticalAlignment, VerticallyRelativeTo
Hierarchy:
Superclass: Preference
Class: AnchoredObjectSetting
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
The point in the anchored object to position. |
||
read/write |
The space above an above-line anchored object. |
||
read/write |
The horizontal (x) offset of the anchored object. |
||
read/write |
The vertical (y) offset of the anchored object. Corresponds to the space after property for above line positioning. |
||
read/write |
The position of the anchored object relative to the anchor. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
read/write |
When anchored position is above line, the position of the anchored object is relative to the text area. When anchored position is custom, the horizontal alignment of the anchored object is set by the horizontal reference point. Note: Not valid when anchored position is inline. |
||
read/write |
The horizontal reference point on the page. Valid only when anchored position is custom. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
read/write |
If true, prevents manual positioning of the anchored object. |
||
readonly |
The parent of the AnchoredObjectSetting (a Application, Document, EPSText, SplineItem, Polygon, GraphicLine, Rectangle, Oval, Group, TextFrame, EndnoteTextFrame, Button, FormField, SignatureField, TextBox, RadioButton, ListBox, ComboBox, CheckBox, MultiStateObject or ObjectStyle). |
||
read/write |
If true, pins the position of the anchored object within the text frame top and bottom. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
If true, the position of the anchored object is relative to the binding spine of the page or spread. |
||
read/write |
The vertical alignment of the anchored object reference point with the vertical reference point on the page. Notes: Valid only when anchored position is custom. |
||
read/write |
The vertical reference point on the page. Valid when anchored position is custom. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
AnchoredObjectSetting getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertAnchoredObject (storyOffset:InsertionPoint, anchoredPosition:AnchorPosition)
Inserts the anchored object into specified story.
Parameter |
Type |
Description |
---|---|---|
storyOffset |
The location within the story, specified as an insertion point. |
|
anchoredPosition |
The position of the anchored object relative to the anchor. (Optional) |
undefined releaseAnchoredObject ()
Releases the anchored object from its associated text.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the AnchoredObjectSetting.
String toSpecifier ()
Retrieves the object specifier.
Object of
Application.anchoredObjectSettings
Document.anchoredObjectSettings
FormField.anchoredObjectSettings
Button.anchoredObjectSettings
MultiStateObject.anchoredObjectSettings
CheckBox.anchoredObjectSettings
ComboBox.anchoredObjectSettings
ListBox.anchoredObjectSettings
RadioButton.anchoredObjectSettings
TextBox.anchoredObjectSettings
SignatureField.anchoredObjectSettings
Oval.anchoredObjectSettings
Rectangle.anchoredObjectSettings
GraphicLine.anchoredObjectSettings
Polygon.anchoredObjectSettings
Group.anchoredObjectSettings
SplineItem.anchoredObjectSettings
EPSText.anchoredObjectSettings
ObjectStyle.anchoredObjectSettings
TextFrame.anchoredObjectSettings
EndnoteTextFrame.anchoredObjectSettings
Event.parent
EventListener.parent
MutationEvent.parent