Sdílet prostřednictvím


Turn snapping on or off

Snapping is useful for lining objects up to each other or to evenly-spaced lines on the artboard. When moving, resizing, or drawing an object, the boundaries of the object will pull or snap into position.

Snapping does not affect the behavior of the arrow keys when you are nudging an object.

To show the snap grid

The snap grid gives you a set of horizontal and vertical gridlines on the artboard.

Workspace showing the snap grid turned on

Cc295038.4fab0bb0-ab3c-487b-8b89-798bf9e620fc(en-us,Expression.40).png

Do one of the following:

  • In the lower-left corner of the artboard, click Show snap grid Cc295038.606df4fa-ca8d-4907-9400-eb2e38a1bc32(en-us,Expression.40).png. To hide the snap grid, click the button again to see the off icon Cc295038.91816563-e380-479d-b477-3367ef46df71(en-us,Expression.40).png.

  • On the Tools menu, click Options. In the Options dialog box, click Artboard, and then select the Show snap grid check box. Click OK.

To snap to gridlines

If Snapping to gridlines is turned on when you drag an object on the artboard, the object will snap or pull towards the closest horizontal and vertical gridlines.

Do one of the following:

  • In the lower-left corner of the artboard, click Turn on snapping to gridlines Cc295038.9e9e55ff-0887-443d-a180-c824fa58355b(en-us,Expression.40).png. To turn off snapping to gridlines, click the button again to see the off icon Cc295038.9cc02ff2-974a-41ce-b192-2d34584488e3(en-us,Expression.40).png.

  • On the Tools menu, click Options. In the Options dialog box, make sure that Artboard is selected on the left, and then select the Snap to gridlines check box. Click OK.

To change gridline spacing

  1. On the Tools menu, click Options.

  2. In the Options dialog box, click Artboard.

  3. Set the Gridline spacing to the value that you want. The default is 8 pixels.

  4. Click OK.

    Tip

    You may want to make the Default margin value half of the Default padding value, and the Gridline spacing value equal to one of the others. This ensures that margin and padding snaplines will occur along gridlines.

To snap to snaplines

If Snapping to snaplines is turned on when you drag an object on the artboard, the object will snap to the following targets:

Baselines (the base of text)

Cc295038.64db0a4e-db9b-4e12-bec5-a84c4e95f295(en-us,Expression.40).png

Alignment boundaries, which appear on the artboard as red dashed lines

Cc295038.9999fb8d-a63a-44c7-b54b-9b7f5e6f3e53(en-us,Expression.40).png

Default margins

Cc295038.be6eac2d-10ad-4f46-81cf-c42cbba852f1(en-us,Expression.40).png

Default padding, or the padding properties that are set on the parent object

Cc295038.04717a51-80ef-4dc6-a8bc-ccd7fe8f4a56(en-us,Expression.40).png

Column and row dividers in a grid panel

Cc295038.3a84276e-d232-4225-b551-aa740b2581fb(en-us,Expression.40).png

Do one of the following:

  • In the lower-left corner of the artboard, click Turn on snapping to snaplines Cc295038.3f45d964-9ba4-4d69-be5f-553ee3a0210c(en-us,Expression.40).png. To turn off snapping to snaplines, click the button again to see the off icon Cc295038.c2d6de68-ef7a-4e33-9e7b-975e37b32f1d(en-us,Expression.40).png.

  • On the Tools menu, click Options. In the Options dialog box, make sure that Artboard is selected on the left, and then select the Snap to snaplines check box. Click OK.

To set snapline margins and padding

  1. On the Tools menu, click Options.

  2. In the Options dialog box, set the Default margin and Default padding properties to the values that you want. The defaults are 4 and 8 pixels, respectively.

  3. Click OK.

    Tip

    You may want to make the Default margin value half of the Default padding value, and the Gridline spacing value equal to one of the others. This ensures that margin and padding snaplines will occur along gridlines.

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.