Microsoft Office Visio 2003 Inside Out (Inside Out (Microsoft))

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 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 nonimage 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 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.

TroubleshootingYou need to share a Visio diagram with someone who doesn’t have Visio

You can share your diagram with others if you take a few extra steps:

Exporting a Shape as a Graphic

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 can export as.

Figure 7-8: Visio can save a shape or diagram in many different formats.

To export a shape or multiple shapes as a graphic, follow these steps:

  1. Select the shapes you want to export. Or, to export an entire page, display the page you want.

  2. Select File, Save As.

  3. In the File Name box, type a name for the file.

  4. Click the Save As Type drop-down list arrow to display a list of file formats, and then select the format you want.

  5. Click Save.

For many file formats, one of the following format-specific dialog boxes appears with additional options:

TroubleshootingSome shapes don’t appear when exported to other formats

If the Visio shape that you’re trying to export is actually a metafile, 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’ll see Type: Metafile if the shape is a metafile. Then, you can ungroup the metafile, 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.

Exporting a Diagram in PDF Format

If you need to distribute a Visio drawing to people who don’t have Visio, consider saving your diagram in PDF format. That way, you can hand someone a Visio file 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. There’s no option for saving in PDF directly from Visio, because you need Adobe Acrobat Distiller to create a high-quality PDF file. But if you have the full version of Adobe Acrobat, or an Adobe product that includes Acrobat Distiller (such as Adobe PageMaker), you can create a PDF file that can be viewed and printed by anyone who has the free Adobe Acrobat Reader, whether they’re using a Windows, Macintosh, or UNIX operating system.

To create a PDF file from a Visio diagram, you must have a PostScript printer driver installed. You can install one through the Windows Add Printer utility, and you can install the driver without actually owning the device. Once Distiller is installed, it appears in the printer folder and can be treated just like any other printer. To produce the PDF file, simply print to Distiller, which then posts a file save dialog for the name of the PDF file. Printing to a file is unnecessary.

Tip

Another option for distributing your Visio drawings is to save them as Web pages. For details, see “Exporting Visio Diagrams for Use on the Web,” page 153.

Категории