คำสั่ง show > grid ตรงกับข้อใด

Show or hide the grid

Change grid spacing and size

Most of the templates in Microsoft Visio use a variable grid by default. Variable grid lines change as you zoom in or out of your drawing, and are useful when you want to align shapes precisely.

For example, these gridlines are set at Normal, and when zoomed out, appear 5 feet apart.

คำสั่ง show > grid ตรงกับข้อใด

However, when the view is zoomed in, they appear 1 foot apart.

คำสั่ง show > grid ตรงกับข้อใด

For some drawings, it might help you to have a fixed grid, which means the grid shows the same spacing regardless of magnification. For example, with a fixed grid and Minimum spacing of 1 foot, the gridlines show 1-foot squares no matter how far in or out you zoom the drawing view.

คำสั่ง show > grid ตรงกับข้อใด

  1. On the View tab, click the Show dialog box launcher .

    คำสั่ง show > grid ตรงกับข้อใด

  2. In the Ruler & Grid box, under Grid, in the Grid spacing lists, click Fixed. Enter the spacing distance that you want into the Minimum spacing boxes—the fixed grid won’t work without a number entered for Minimum Spacing.

    For a variable grid, at Grid spacing, in the Horizontal and Vertical lists, click Fine, Normal, or Coarse.

    Fine is the smallest grid spacing.

    คำสั่ง show > grid ตรงกับข้อใด

    Coarse is the largest.

    คำสั่ง show > grid ตรงกับข้อใด

Change the origin of the grid

The grid origin is set to the same position as the ruler zero point. If you move the ruler zero point, the grid origin also moves. You can, however, set the grid origin independently from the ruler zero point.

  1. On the View tab, in the Show group, click the Ruler & Grid Dialog Box Launcher.

  2. Under Grid origin, enter x (horizontal) and y (vertical) coordinates for the point from which you want the grid to originate, and then click OK.

Make the grid color easier to see

Although it's not possible to change the color of grid lines in Visio itself, you can make them easier to see by turning on high contrast mode in Windows. 

See Also

Adjust snap strength or turn snap off

Note: Both gridlines and the ability to "snap to grid" are not available in Visio in Microsoft 365, the free version of the web-based Visio app.

Show or hide the grid

  • On the View tab of the ribbon, select or clear the Grid checkbox.

    คำสั่ง show > grid ตรงกับข้อใด

    Alternatively, you can right-click the canvas and select

    คำสั่ง show > grid ตรงกับข้อใด
     Show Grid or Hide Grid.

Change grid spacing and size

  • On the View tab of the ribbon, in the Grid Size box, use the up or down arrow to adjust the grid size, or enter a value in the box and press Enter.

    คำสั่ง show > grid ตรงกับข้อใด

    This box lets you change the size in steps of 0.1 inches or 0.25 cm depending on your locale and the measurement units used in your file.

Turn snap to grid" on or off

  • On the View tab of the ribbon, select or clear the Snap to Grid checkbox.

    คำสั่ง show > grid ตรงกับข้อใด