Partilhar via


Reposition or translate an object

Repositioning and translating are two different ways to move an object in Microsoft Expression Blend:

  • Repositioning an object changes only the object's alignment, and margins (if the container is a Grid), or the top and left properties (if the container object is a Canvas).

  • Translating applies a transform to the object that moves the object from the initial X, Y, and Z (three-dimensional objects only) coordinates to the destination coordinates. The result is an offset from the original position. Offsetting objects is useful when you have more than one object in the same position on the artboard and you want to distribute the objects in a particular direction. For example, if you have a stack of circular shapes that you want to span out horizontally in a straight line on the artboard, you can specify values in increasing increments for the X property in the Translate tab under Transform in the Properties panel.

To reposition an object

  1. Select the object that you want to reposition, using either the SelectionCc295289.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,Expression.10).png tool or the Direct SelectionCc295289.6dd6571f-c116-451d-8dd2-1f88b8406362(en-us,Expression.10).png tool, by clicking the object on the artboard. To select more than one object, hold the CTRL key.

  2. Do one of the following:

    • In the Properties panel, under Layout, enter values in the HorizontalAlignment, VerticalAlignment, or Margin boxes, or any combination. These property changes might make it necessary to change the values in the Height or Width boxes also.

    • On the artboard, move your mouse over the object until the pointer changes to an arrow with a smaller four-directional arrow Cc295289.eff911a7-b891-4315-a86c-cc4cd088e647(en-us,Expression.10).png, and then drag the pointer to move the object. Hold the SHIFT key if you want to constrain the movement to the X or the Y plane as you reposition it.

To translate or offset an object

  1. Select the object that you want to offset, using either the SelectionCc295289.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,Expression.10).png tool or the Direct SelectionCc295289.6dd6571f-c116-451d-8dd2-1f88b8406362(en-us,Expression.10).png tool, by clicking the object on the artboard. To select more than one object, hold the CTRL key.

  2. In the RenderTransform category under Transform in the Properties panel, click the TranslateCc295289.962807da-746d-41bd-878c-0f89500f3907(en-us,Expression.10).png tab.

    Note

    For information about the RenderTransform and LayoutTransform transform categories, see Transformations overview.

  3. Enter the desired values, in pixels (or, device-independent units that are approximately 1/96 inch), in the boxes for the X, Y, and Z (only for three-dimensional objects) properties.

Note

It is not possible to translate an object freely on the artboard by using handles on the object's bounding box if you are modifying your object in a trigger within the style or template overview.