Class
The settings for an anchored object.
getElements, toSource, toSpecifier
AnchoredObjectSetting
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
anchorPoint | AnchorPoint: AnchorPoint.TOP_LEFT_ANCHOR AnchorPoint.TOP_CENTER_ANCHOR AnchorPoint.TOP_RIGHT_ANCHOR AnchorPoint.LEFT_CENTER_ANCHOR AnchorPoint.CENTER_ANCHOR AnchorPoint.RIGHT_CENTER_ANCHOR AnchorPoint.BOTTOM_LEFT_ANCHOR AnchorPoint.BOTTOM_CENTER_ANCHOR AnchorPoint.BOTTOM_RIGHT_ANCHOR |
r/w | The point in the anchored object to position. |
anchorSpaceAbove | number | r/w | The space above an above-line anchored object |
anchorXoffset | number | r/w | The horizontal (x) offset of the anchored object |
anchorYoffset | number | r/w | The vertical (y) offset of the anchored object |
anchoredPosition | AnchorPosition: AnchorPosition.INLINE_POSITION AnchorPosition.ABOVE_LINE AnchorPosition.ANCHORED |
r/w | The position of the anchored object relative to the anchor. |
horizontalAlignment | HorizontalAlignment: HorizontalAlignment.RIGHT_ALIGN HorizontalAlignment.LEFT_ALIGN HorizontalAlignment.CENTER_ALIGN HorizontalAlignment.TEXT_ALIGN |
r/w | 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. |
horizontalReferencePoint | AnchoredRelativeTo: AnchoredRelativeTo.COLUMN_EDGE AnchoredRelativeTo.TEXT_FRAME AnchoredRelativeTo.PAGE_MARGINS AnchoredRelativeTo.PAGE_EDGE AnchoredRelativeTo.ANCHOR_LOCATION |
r/w | The horizontal reference point on the page. Valid only when anchored position is custom. |
lockPosition | bool | r/w | If true, prevents manual positioning of the anchored object. |
parent | Application Button Document FormField GraphicLine Group ObjectStyle Oval PageItem Polygon Rectangle TextFrame |
readonly | The parent of the AnchoredObjectSetting (a PageItem, Oval, Rectangle, GraphicLine, Polygon, Group, TextFrame, FormField, Button, Application, Document or ObjectStyle). |
pinPosition | bool | r/w | If true, pins the position of the anchored object within the text frame top and bottom. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
spineRelative | bool | r/w | If true, the position of the anchored object is relative to the binding spine of the page or spread. |
verticalAlignment | VerticalAlignment: VerticalAlignment.TOP_ALIGN VerticalAlignment.BOTTOM_ALIGN VerticalAlignment.CENTER_ALIGN |
r/w | 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. |
verticalReferencePoint | VerticallyRelativeTo: VerticallyRelativeTo.COLUMN_EDGE VerticallyRelativeTo.TEXT_FRAME VerticallyRelativeTo.PAGE_MARGINS VerticallyRelativeTo.PAGE_EDGE VerticallyRelativeTo.LINE_BASELINE VerticallyRelativeTo.LINE_XHEIGHT VerticallyRelativeTo.LINE_ASCENT VerticallyRelativeTo.CAPHEIGHT VerticallyRelativeTo.TOP_OF_LEADING |
r/w | The vertical reference point on the page. Valid when anchored position is custom. |
Methods
Instances
Array
of Object getElements ()
Resolves the object specifier, creating an array of object references.
string toSource ()
Generates a string which, if executed, will return the AnchoredObjectSetting.
Element of
Application.anchoredObjectSettings
Button.anchoredObjectSettings
Document.anchoredObjectSettings
FormField.anchoredObjectSettings
GraphicLine.anchoredObjectSettings
Group.anchoredObjectSettings
ObjectStyle.anchoredObjectSettings
Oval.anchoredObjectSettings
PageItem.anchoredObjectSettings
Polygon.anchoredObjectSettings
Rectangle.anchoredObjectSettings
TextFrame.anchoredObjectSettings
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |