A script-enabled browser is required for this page to function properly.

About anchors

Anchors fasten an edge of one object to an edge of another object, ensuring that they maintain their relative positions. For example, you can anchor boilerplate text to the edge of a variable-sized repeating frame, guaranteeing the boilerplate’s distance and position in relation to the repeating frame, no matter how the frame’s size might change.

Anchors determine the vertical and horizontal positioning of a child object relative to its parent. The child object may be either outside of or contained within the parent.

Since the size of some layout objects may change when the report runs (and data is actually fetched), you need anchors to define where you want objects to appear relative to one another. An anchor defines the relative position of an object to the object to which it is anchored. Positioning is based on the size of the objects after the data has been fetched rather than on their size in the editor. It should also be noted that the position of the object in the Paper Layout view affects the final position in the report output. Any physical offset in the layout is incorporated into the percentage position specified in the Anchor properties.

There are two types of anchors:

Relative positioning of anchors

When you anchor a child object to a parent object, the x and y coordinates of the anchor’s attachments are important.

If the parent object is located above or below the child object:

figure illustrating parent above child

If the parent object is located to the right or left of the child object:

figure illustrating parent to right of child

If you need to position an object outside a repeating frame or frame, but you want the object to be ”owned” by the repeating frame or frame (that is, to be formatted when its ”owner” is formatted), create an anchor that is attached to an object inside the frame or repeating frame.

Collapsing Anchors

You can create anchors to be ”collapsible.” Collapsing anchors help avoid unnecessary empty space in your report. Such empty space can occur when the parent object does not print on the same page as the child object, either because the parent and child nondefault fit on the same page or because of an assigned Print Condition. A collapsing anchor allows the child object to move into the position that would have been taken by the parent had it printed. The child object will also maintain its relative position as defined by the anchor.

See also

Anchoring objects together

Viewing implicit anchors

Moving an anchor

Implicit anchoring algorithm