Bagikan melalui


Change the center point of an object

When you rotate or flip an object in Blend for Visual Studio 2012, the object moves relative to a fixed point, called the object's center point. When you select an object, the object's center point is marked by a white circle in the object on the artboard. By default, an object's center point is located at the object's center. You can move an object's center point in order to rotate or flip the object around a different point.

To change the center point of an object

  1. Select the object by using the Selection tool 2ff91340-477e-4efa-a0f7-af20851e4daa.

  2. Do one of the following:

    • On the artboard, move your pointer over the object's center point icon. When the pointer changes to a four-directional arrow 9003164f-1dd4-4a3b-8a4c-21a70d4b3ffb, drag the object's center point to the location that you want.

    • In the Properties panel, under Transform, do one of the following:

      Click the Translate tab. On the Center Point diagram 8d1895be-3183-4bb9-bb3a-dbf30c92f785, click the square that you want to be the new center point.

      Click the Center Point tab 49772b0c-095e-450b-967e-75dc1858966f. Change the X, Y, and Z (for three-dimensional objects only) values. You can set numeric values in pixels (or, device-independent units which are approximately 1/96 inch) up to three decimal points for the position.

    Note

    Double-clicking the center point icon will reset the center point to the default value.