Share via


Snap to gridlines or snaplines

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

4fab0bb0-ab3c-487b-8b89-798bf9e620fc

Do one of the following:

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

  • 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 9e9e55ff-0887-443d-a180-c824fa58355b. To turn off snapping to gridlines, click the button again to see the off icon 9cc02ff2-974a-41ce-b192-2d34584488e3.

  • 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)

64db0a4e-db9b-4e12-bec5-a84c4e95f295

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

9999fb8d-a63a-44c7-b54b-9b7f5e6f3e53

Default margins

be6eac2d-10ad-4f46-81cf-c42cbba852f1

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

04717a51-80ef-4dc6-a8bc-ccd7fe8f4a56

Column and row dividers in a grid panel

3a84276e-d232-4225-b551-aa740b2581fb

Do one of the following:

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

  • 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.