Applies ToVisio Plan 2 Visio Plan 1 Visio Professional 2024 Visio Standard 2024 Visio Professional 2021 Visio Standard 2021 Visio Professional 2019 Visio Standard 2019 Visio Professional 2016 Visio Standard 2016

Use layers to organize related shapes on a drawing page. A layer is a named category of shapes. By assigning shapes to different layers, you can selectively view, print, color, and lock different categories of shapes, as well as control whether you can snap to or glue to shapes on a layer.

For example, when you're drawing an office layout, the walls, doors, and windows might be assigned to one layer, electrical outlets to another layer, and furniture to a third layer. That way, when you work with shapes in the electrical system, you can lock the other layers so that you don't have to worry about accidentally rearranging the walls or furniture.

Each page in a drawing can have its own set of layers.

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

What do you want to do?

Add a layer

You can add new layers to organize custom categories of shapes, and then assign shapes to those layers.

  1. On the Home tab, in the Editing group, click Layers, and select Layer Properties.

  2. In the Layer Properties dialog box, click New.

  3. Type a name for the layer, and then click OK.

  4. In the row that corresponds to your new layer, select the check boxes in each column for properties that you want the layer to have, if they are not already checked.

    Notes: 

    • When you create a new layer, it is added only to the current page, not to all pages in the file.

    • Similarly, when you create a new page, that new page does not inherit layers from the previous page. You must define any layers that you want the new page to have.

    • When you copy a shape with a layer assignment from one page to another, either within the same drawing or from one drawing to another, the layer is added to the new page. If the page already has a layer with the same name, the shape is added to the existing layer.

Top of Page

Assign a shape to a layer

A shape can be assigned to multiple layers or to no layers. Many shapes are already assigned to layers, so when you drop them on a page, the corresponding layer is automatically added to the page.

  1. Select a shape.

  2. On the Home tab, in the Editing group, click Layers, and select Assign to Layer.

  3. In the Layer dialog box, click the layer to which you want to assign the shape.

Note: To assign a shape to more than one layer, press Ctrl and click each layer.

Top of Page

Activate one or more layers

Making a layer active is a fast way to assign shapes to the layer as you add them to the page. If a shape is not already assigned to a layer, the shape is automatically assigned to the active layer when you add it.

For example, if you are ready to add electrical wiring shapes to a drawing of an office layout, you can make the electrical layer active. All the shapes you add from then on are assigned to the electrical layer. When you are ready to add windows, you can designate the wall layer as the active layer.

You can designate more than one active layer. Shapes you add to the page are automatically assigned to all of the active layers.

  1. On the Home tab, in the Editing group, click Layers, and select Layer Properties.

  2. In the Layer Properties dialog box, select the check box in the Active column for each layer you want to make active.

    The layer or layers are active for the current page.

Note: You cannot activate a layer that is locked against editing.

Top of Page

Rename a layer

  1. On the Home tab, in the Editing group, click Layers, and select Layer Properties.

  2. In the Layer Properties dialog box, select the layer you want to rename, and then click Rename.

  3. Type a new name, and then click OK twice.

Note: The layer is renamed on the current page. The shapes on the layer are not removed or changed.

Top of Page

Delete a layer

  1. On the Home tab, in the Editing group, click Layers, and select Layer Properties.

  2. In the Layer Properties dialog box, check to see if any shapes are assigned to the layer.

  3. If a layer has shapes on it, do the following to assign the shapes to a different layer:

    1. To close the Layer Properties dialog box, click OK.

    2. Select the shapes you want to reassign.

    3. On the Home tab, in the Editing group, click Layers, and select Assign to Layer.

    4. In the Layer dialog box, click the layer you want to assign the shapes to.

    5. Click OK.

  4. In the Editing group, click Layers, and then select Layer Properties again.

  5. In the Layer Properties dialog box, select the layer you want to delete, and then click Remove.

Tip: To delete all unused layers, in the Layer Properties dialog box, check Remove unreferenced layers, and then click OK.

Top of Page

Show or hide a layer

  1. On the Home tab, in the Editing group, click Layers, and select Layer Properties.

  2. In the Layer Properties dialog box, clear or select the check box in the Visible column for each layer you want to hide or show.

Top of Page

See Also

Lock or unlock a layer

Use layers to set properties for multiple shapes

If you have a Visio Plan 1 or Visio Plan 2 license, you can use layers to group a related set of shapes in a drawing and change properties of all the layer members at once.

You can show or hide a layer, lock or prevent changes to all the shapes included in the layer, and apply the same color to all the shapes in the layer. Additionally, you can quickly see the number of shapes included in each layer.

Note: The "layer" feature isn't available in Visio in Microsoft 365.

Add a layer

  1. On the Home tab, at the right end, select Layers.

  2. In the Layers pane, select  Add New Layer.

  3. Type a name for the layer, then press Enter.

  4. In the row that corresponds to your new layer, select the check boxes in each column for properties that you want the layer to have, if they are not already checked.

Notes: 

  • A shape can be assigned to only one layer.

  • When you create a new layer, it is added only to the current page, not to all pages in the file.

  • Similarly, when you create a new page, that new page does not inherit layers from the previous page. You must define any layers that you want the new page to have.

  • When you copy a shape with a layer assignment from one page to another, either within the same drawing or from one drawing to another, the layer is added to the new page. If the page already has a layer with the same name, the shape is added to the existing layer.

Assign a shape to a layer

A shape can be assigned to multiple layers or to no layers. Many shapes are already assigned to layers, so when you drop them on a page, the corresponding layer is automatically added to the page.

  1. Select a shape or shapes.

  2. Right-click the selection, then select Assign to Layer.

  3. Select the name of the layer you want to assign the shape to.

Show or hide a layer

  1. On the Home tab, select Layers.

  2. In the Layers pane, point at the layer you want to show or hide, then select the symbol in the Toggle Visibility column to change that setting between  The Open Eye symbol indicates that the selected object is shown. Show and  The Closed Eye symbol indicates that the selected object is hidden. Hide

Rename a layer

  1. On the Home tab, select Layers.

  2. In the Layers pane, point at the layer you want to change, then select  More Options > Rename.

  3. Double-click the current name to select it, then type the new name you want. Press Enter to save the name. 

    Note: The layer is renamed on the current page. The shapes on the layer are not removed or changed.

Delete a layer

  1. On the Home tab, select Layers.

  2. In the Layers pane, point at the layer you want to remove, then select  More Options > Delete.

  3. In the Delete Layer dialog box, select whether you want to delete or preserve the shapes assigned to this layer, then select Delete

Lock or unlock a layer

Shapes on a locked layer cannot be selected, moved, or edited. Also, shapes cannot be added to a locked layer.

  1. On the Home tab, select Layers.

  2. In the Layers pane, point at the layer you want to lock or unlock, then select  or  The Unlock icon. to toggle the Lock setting. 

Select all the shapes on a layer

You can select all the shapes on a layer so that you can apply formatting or properties to them at once.

  1. On the Home tab, select Layers.

  2. In the Layers pane, point at the name of the layer whose shapes you want to select.

  3. Choose  More Options, then choose Select Shapes.

ต้องการความช่วยเหลือเพิ่มเติมหรือไม่

ต้องการตัวเลือกเพิ่มเติมหรือไม่

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.