Article ID: 258458 - View products that this article applies to.
This article was previously published under Q258458
When you select a 2-D shape and try to add a fill pattern or color, nothing happens. (On the Format menu, click Fill, or click the Fill Color button on the Format toolbar).
NOTE: In some cases when you try to fill a shape, you receive a message that the shape's formatting attributes are protected against changes. This article does not address that issue because, in those cases, the Visio program behaves as intended.
Shapes That Visio Can FillVisio can apply a fill pattern or color to closed 2-D shapes; it cannot add a fill to 1-D shapes or open 2-D shapes. A closed 2-D shape has a continuous outline without a beginning or end. For example, a circle or square is a closed shape.
How to Draw Closed 2-D ShapesTo draw a closed shape, you can use the Rectangle or Oval tools. You can also use the Pencil, Line, or Freeform tools to draw the shape one segment at a time. However, if you create a shape segment-by-segment, to close the shape, you must drag the end point of the last segment to the starting point of the first segment. You will know a shape that you create is closed when Visio gives the shape a white fill.
If you create a shape by drawing individual segments and then positioning them to form the shape, Visio does not consider the shape to be closed, even if you connect the lines' endpoints or group the segments. However, you can change the structure of the shape so that Visio recognizes it as a closed shape. The next section explains how to do this.
How to Change the Structure of a Shape to Add a FillIf you create a shape with several segments and want to fill the shape, use the Fragment command to "trick" Visio into converting the segments into a single closed shape. To do this, follow these steps:
How to Use the ShapeSheet Window to Fill an Open ShapeFor certain open 2-D shapes, you can modify a cell in the shape's ShapeSheet window to add a fill attribute to the shape, without having to close the shape first. For example, you can fill a 3-sided square. NOTE: The following procedure works only if the open 2-D shape is a single shape, and is not made up of several individual segments that are grouped. The ShapeSheet window must apply to the entire shape.
To create a fill attribute in the ShapeSheet window, follow these steps:
For more information about closed shapes, click Search on the Help menu, type closed shapes in the What would you like to know? box, and then click Search to view the topics.
Article ID: 258458 - Last Review: January 27, 2007 - Revision: 1.1
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.