If you plan to use shapes as a Web graphic, or if you want to distribute a diagram to someone who doesn’t have Visio 2007 or the Visio Viewer, you can export the contents of a drawing file as a graphic file. Visio can save files in many different formats, including JPEG, GIF, PNG, TIFF, WMF, EMF, and several less common formats. You can also save your Visio diagram as an HTML file.
Which format should you use? It depends, of course, on how you plan to use the diagram. If you want to include shapes as Web graphics, save them as GIF, JPEG, or PNG files. If the shapes are to be used in a document that will be professionally printed, save them as TIFF files. For use in other Windows applications, save them as WMF or EMF files. A general guideline is to consider whether you’ll need to edit the shapes after exporting them. If you export shapes as a graphic in bitmap format (which includes BMP, TIFF, and JPEG files), the graphic cannot be edited easily in other non-image-editing applications. If you export shapes in a vector graphic format, such as WMF and EMF, you probably can edit them in other applications.
When you export in a graphic format, Visio 2007 converts objects on the drawing page into the graphic format. The resulting image might not look exactly the same when you import it into another application, because the importing application probably also goes through a conversion process to bring the image in.
Troubleshooting: You need to share a Visio diagram with someone who doesn’t have VisioYou can share your diagram with others if you take a few extra steps:
|
You can export a single shape, or multiple shapes, as a graphic that can be inserted or imported into another application. The Save As Type option of the Save As dialog box, shown in Figure 7-8, lists all the formats that Visio 2007 can export.
To export a shape or multiple shapes as a graphic, follow these steps:
Troubleshooting: Some shapes don’t appear when exported to other formatsIf the Visio 2007 shape that you’re trying to export is actually a group, as is the case with Visio Network Equipment shapes, the shape might not appear in the exported file. One way to tell whether a shape is a metafile is to select the shape and then choose Format, Special. (You must be in Developer Mode. Choose Tools, Options, select the Advanced tab, and turn on the Run In Developer Mode check box.) You’ll see Type: Group if the shape is a metafile. Then, you can ungroup the shape, which converts it to separate Visio shapes. You might need to use the Ungroup command (Shape, Grouping, Ungroup) more than once until all parts are ungrouped and converted. You can then export the resulting shapes. |
If you need to distribute a Visio 2007 drawing to people who don’t have Visio, consider saving your diagram in PDF format. That way, you can hand someone a Visio drawing they can look at right away in Adobe Acrobat Reader, a free and widely available viewer. (You can download it from the Adobe Web site.)
A PDF file is a great way to save your diagram in a format others can read without compromising the integrity of the image. Formerly in Visio 2003, you could not directly save your diagram to PDF file format. You had to use the Adobe Reader Distiller to save your work in PDF format.
For more information on PDF files, see the section titled “Exporting Visio 2007 Diagrams as PDF Files” in Chapter 5, “Using Visio Diagrams on the Web.” Another option for distributing your Visio 2007 drawings is to save them as Web pages. For details, see the section titled “Exporting Visio 2007 Diagrams for Use on the Web” in Chapter 5.