An object, such as an image or frame, is positioned within a document using an anchor attached to another element.
An anchor determines the reference point for an object. The reference point could be the page or frame where the object is, a paragraph, or even a character. An object always has an anchor.
An anchor moves with the element it is attached to as the document is edited. An object retains its position relative to the reference point determined by its anchor, such that, whenever the reference point moves or changes, the object moves relative to it.
The following anchoring options are available:
Anchoring | Effect |
---|---|
As character | Anchors the selected object as a character in the current text. If the height of the selected object is greater than the current font size, the height of the line containing the object is increased. To centre an image on an HTML page, insert the image, anchor it "as character", then centre the paragraph. |
To character | Anchors the selected object to the paragraph that contains the character to which the anchor is attached. The reference point for the object is the start of the paragraph that contains the character. For example, if you split the paragraph at a point before the anchor, the reference point moves to the start of the new paragraph and the object moves relative to that point. If you join the paragraph to the one before it, the reference point moves to the start of the combined paragraph and the object moves to a position relative to that. |
To paragraph | Anchors the selected object to the current paragraph. |
To page | Anchors the selected object to the current page. |
To frame | Anchors the selected object to the surrounding frame. |
Objects can only be positioned on the page where their anchor is located.
When you insert a shape, textbox, OLE object, image, or frame in your document, an anchor icon appears where the object is anchored. You can move an anchor or, keeping other object constraints in mind, position an object relative to the anchor's reference point by dragging the object.
To change the anchoring options of an object, right-click the object, and then choose an option from the Anchor submenu.