目次

# オブジェクトの位置決め

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:

アンカー | 効果
--- | ---
文字として | 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. HTML ページ上でイメージを中央に配置するには、イメージを挿入し、そのイメージを「文字として」アンカーしてから段落を中央に配置します。

文字に

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.

段落に | Anchors the selected object to the current paragraph.
ページに | Anchors the selected object to the current page.
枠に | Anchors the selected object to the surrounding frame.

Objects can only be positioned on the page where their anchor is located.

## Moving an Anchor

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.

## Changing an Anchor

To change the anchoring options of an object, right-click the object, and then choose an option from the Anchor submenu.

関連項目

Inserting, Editing, and Linking Frames