Paged.The open publishing system
The format atlas
Element referenceResources/Preferences

<AnchoredObjectSetting> / Element reference

AnchoredObjectSetting

The AnchoredObjectSetting element in IDML: where it appears (Resources/Preferences), its 12 attributes, their values, and how real documents use them.

Tier: ProProIIIreference

Definition

Where an anchored object sits relative to its anchor in the text: inline, on a line above, or at a custom position.

Lives in
Resources/Preferences 271, Resources/Styles 271 and Stories 3
Frequency
In 272 of the 305 documents of the census (89.2%), 2026-10-12
Attributes
12 observed, 11 of them vary between documents
Discussed in
Anchored objects, Anchored & inline objects and Object styles

Structure

Relationships

AnchoredObjectSetting

Contains

no elements

Where AnchoredObjectSetting sits: the elements that hold it, and the elements it holds. Each number is the documents that show the pairing (census of 2026-10-12, 305 documents).

Attributes

AttributeTypeValuesDefaultSeen in
AnchoredPosition#
How the object is placed: InlinePosition (in the line, the default), AboveLine (on a line of its own above) or Anchored (a custom position).
keywordInlinePosition272AboveLineAnchored or a named valueInlinePosition100%
varies in 1
AnchorPoint#
AnchorPoint, one of nine (TopLeftAnchor, TopCenterAnchor, … BottomRightAnchor), is the point on the object.
keywordTopLeftAnchor14TopCenterAnchorTopRightAnchorLeftCenterAnchorCenterAnchorRightCenterAnchorBottomLeftAnchorBottomCenterAnchorBottomRightAnchor272 or a named value—100%
varies in 14
AnchorXoffset#
The horizontal offset of a custom object.
integer (pt)any0100%
varies in 1
AnchorYoffset#
Moves an inline object up from the baseline (positive is up).
integer (pt)any0100%
varies in 1
HorizontalAlignment#
HorizontalAlignment (LeftAlign, CenterAlign, RightAlign) and VerticalAlignment (TopAlign, CenterAlign, BottomAlign) say which side of the reference the object goes to.
keywordLeftAlign272—100%
varies in 1
HorizontalReferencePoint#
What it is measured from across: AnchorLocation (the anchor character), ColumnEdge, TextFrame, PageMargins or PageEdge.
keywordTextFrame272—100%
varies in 1
LockPosition#
Keeps the object from being dragged by hand.
booleanfalse272false100%
varies in 1
PinPosition#booleantrue272false13—100%
varies in 13
SpineRelative#
Mirrors the horizontal placement on facing pages, so an object on the outside margin stays outside.
booleanfalse272false100%
varies in 1
VerticalAlignment#
For a custom position: which side of the vertical reference the object goes to, TopAlign, CenterAlign or BottomAlign.
keywordBottomAlign272TopAlign259CenterAlign13—100%
varies in 264
VerticalReferencePoint#
What it is measured from down: a line of the anchor (LineBaseline, LineXHeight, LineCapHeight, TopOfLeading), or TextFrame, PageMargins, PageEdge.
keywordLineBaseline272—100%
varies in 1
AnchorSpaceAbove#
The space above an above-line object.
integerany—99.6%
The attributes documents set on AnchoredObjectSetting (census of 2026-10-12, 305 documents). Seen in is the share of the 272 documents with a AnchoredObjectSetting that set the attribute; varies in counts those that hold a value other than the most common one. Values are listed, with the documents using each, only where documents use a small closed set. A name with a dotted underline links to the chapter that explains it. How the census counts.

Visualization

Page 1 of the example “An inline object anchored in the middle of a line”, as InDesign exports it.
AnchoredObjectSetting in the example “An inline object anchored in the middle of a line”, page 1, as InDesign 20.0.1.32 exports it (checked 2026-10-11). The example, with its source, is in Anchored objects.

Behavior

  • A Rectangle written inside a CharacterStyleRange, between two Content elements, is an anchored object at that character position; with AnchoredPosition="InlinePosition" it sits in the line like a character as wide as the object.

    Shown, with its source and a live render, in Anchored objects.

Evidence

Observed
In 272 of 305 documents (89.2%): Resources/Preferences 271, Resources/Styles 271 and Stories 3.
Census
Taken 2026-10-12 over 305 documents (34 written by test generators, 267 from template packs, 4 samples). It observed 281 elements; this reference gives 195 of them an entry. How the census counts
Counts are
Documents, not occurrences. Values are published only for small closed sets; numbers only by kind.
InDesign checks

Paged support

What Paged, one implementation of the format, does with AnchoredObjectSetting. Nothing in this panel is part of the format; the reference above holds for any reader.

As of: scriptable paths from engine release v0.77.0; parse and write from the importer and exporter at paged b6f499b, read 2026-11-30; render from the capability record exported 2026-11-29.

Parse
Reads 10 of the 12 attributes
Render
No feature of the capability record names this element; examples compared with InDesign below
Edit
10 attributes map to a scriptable path for paged.set
Write
Writes 5 of the 12 attributes on IDML export

By attribute

AttributeParseEditWrite
AnchoredPositionreadsstory.rs:2508anchoredPositionwritesinline_objects.rs:679
AnchorPointreadsstory.rs:2518anchorPointnot written
AnchorXoffsetreadsstory.rs:2502anchoredXOffsetwritesinline_objects.rs:699
AnchorYoffsetreadsstory.rs:2503anchoredYOffsetwritesinline_objects.rs:702
HorizontalAlignmentreadsstory.rs:2523anchoredHorizontalAlignmentnot written
HorizontalReferencePointreadsstory.rs:2522anchoredHorizontalReferencenot written
LockPositionreadsstory.rs:2504anchoredLockPositionwritesinline_objects.rs:685
PinPositionnot read—not written
SpineRelativereadsstory.rs:2501anchoredSpineRelativewritesinline_objects.rs:682
VerticalAlignmentreadsstory.rs:2525anchoredVerticalAlignmentnot written
VerticalReferencePointreadsstory.rs:2524anchoredVerticalReferencenot written
AnchorSpaceAbovenot read—not written

Rendered against InDesign

Parse and write come from the idml-coverage record, which reads the importer and exporter source; each mark links to the line. Render is recorded per feature, not per attribute. A feature is listed when its title in the record names AnchoredObjectSetting.

On this page