Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Dashed or dotted line patterns are converted to a solid line pattern when you embed a Visio 2003 object in another document
Article ID: 837294 - View products that this article applies to.
For a Microsoft Visio 2002 version of this article, see 816630
Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
In Microsoft Office Visio 2003, when your drawing contains objects that use a dashed or a dotted line pattern, and you copy and paste the objects to a Microsoft Office document or to a document in another program that supports linked and embedded objects, you may find that some of the embedded Visio objects appear with a solid line pattern. Objects that use a line pattern with thick, short lines retain their formatting, whereas objects that use a line pattern with thinner, longer lines do not retain their formatting. The line pattern of these embedded objects are converted to solid lines.
You may also experience these symptoms when you export your drawings to Windows Metafile (.wmf) format.
Microsoft Visio renders very long lines and very thin lines as solid lines to reduce the size of the Enhanced Metafile (EMF) of the embedded object. By doing so, Visio reduces the increase in file size that occurs when you embed objects in documents in other programs.
Note that the Visio drawing is not changed. Only the EMF image of the drawing that appears in the document is changed when the drawing is not activated. When you double-click the embedded Visio drawing, the line pattern of objects is displayed as expected by using either a dotted or dashed line pattern. When you print the document that contains the embedded Visio object, the EMF image is printed by using solid lines.
To resolve this problem, create the
MetafileDashLineAsSolidregistry entry in the following registry key and set the
MetafileDashLineAsSolidregistry entry to the value that you want:
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To work around this problem, increase the thickness of the line pattern of the embedded Visio object after you copy and paste the Visio drawing to the other program. To do so, follow these steps:
For more information about Visio, visit the following Microsoft Web site: