Partilhar via


Align objects

The Align commands in the Object menu of Microsoft Expression Blend let you align the position of two or more objects in a document.

Cc295165.09e89742-684c-44eb-858f-2435911fb626(en-us,Expression.10).png

Cc295165.25182a96-9a69-478a-9cfe-5b360e6a9bea(en-us,Expression.10).png

Unaligned objects

Cc295165.05fe4b1d-f584-4bd2-99b6-8bc2d735a89d(en-us,Expression.10).png

Objects aligned to left edges

Cc295165.f0c1ff71-7814-42ba-806b-7ea92d616e69(en-us,Expression.10).png

Objects aligned to horizontal centers

To align two or more objects

  1. Select the objects that you want to align. (You can select more than one object by holding the CTRL key. For information about how to select objects in Expression Blend, see Select or cancel the selection of objects.)

  2. On the Object menu, point to Align, and then click one of the following:

    • Left Edges   Aligns the left edge of each object to that of the object that was selected last.

    • Horizontal Centers   Aligns the objects horizontally around the center point of each object. The object that was selected last is anchored and the other objects move.

    • Right Edges   Aligns the right edge of each object to that of the object that was selected last.

    • Top Edges   Aligns the top edge of each object to that of the object that was selected last.

    • Vertical Centers   Aligns the objects vertically around the center point of each object. The object that was selected last is anchored and the other objects move.

    • Bottom Edges   Aligns the bottom edge of each object to that of the object that was selected last.

Tip

You can also access the Align commands from the shortcut menu that appears when you right-click the selected objects on the artboard or under Objects and Timeline.

Note

To set the alignment of an individual object, set the HorizontalAlignment and VerticalAlignment options under Layout category in the Properties panel. For more information, see Change the alignment of an element.