- Remove unused shapes in the local stencil.
- Configure Visio to save the drawing with out a preview picture.
- Reduce the number of grouped shapes.
- Convert duplicate shapes to a single master shape.
- Do not save your diagram as a XML for Visio drawing
Remove unused shapes from the local stencilThe local stencil stores master shapes, including shapes that you deleted from the drawing page. An unused master shape can use unnecessary disk space. You can reduce the size of your drawing by removing these master shapes from the local stencil. To do this, use one of the following methods.
Method 1: Download and run the CleanIt UtilityThe following file is available for download from the Microsoft Download Center:
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
Note Microsoft Product Support Services (PSS) does not provide technical support for this tool.
Method 2: Delete unused master shapes
- Open the Visio drawing, point to Shapes on the File menu, and then click Show Document Stencil.
- Delete the master shapes that the local stencil is not using.
Visio warns you if any master shapes are being used by your diagram. If you receive this warning, click Cancel.
- Click Close to close the stencil.
- Save your drawing.
Split a multiple-page drawing into separate drawingsIf you have to reduce the file size of a multiple-page drawing to transfer it electronically, or if you have to save the drawing to a floppy disk, consider saving each page of your Visio drawing as a separate drawing. Use the Save As command to split the multiple-page drawing into several files. To do this, follow these steps:
- Open the Visio drawing.
- On the File menu, click Save As, type a new file name, and then click OK.
For example, type filename_pageX.vsd, where filename is the name of your document, and pageX is the page number.
- Repeat step 2 for each page of your drawing.
For example, save page 1 as filename_page1.vsd, and save page 2 as
- For each new Visio drawing file, delete the other pages that do not correspond with the file name. Right-click the Page tab for the page that you want to delete, and then click Delete Page.
For example, if your drawing has four pages, and you open the filename_page2.vsd file, delete pages 1, 3, and 4.
- On the File menu, click Save, and then repeat these steps for each drawing.
Configure Visio to save the drawing without a preview pictureYou can reduce the file size of your drawing if you configure Visio to save the drawing without a preview picture. To do this, follow these steps:
- On the File menu, click Properties.
- In the Properties dialog box, click the Summary tab.
- Click to clear the Save preview picture check box, and then click OK.
Reduce the number of grouped shapesIf your Visio diagram includes many grouped shapes, your diagram can become very large and complex. Reducing the number of levels of grouping can help reduce the size and the complexity of your files. To reduce the levels of grouping, follow these steps:
- Use commands that are displayed on the Operations submenu, such as Combine command.
- Convert the grouped shape to a Microsoft Windows Metafile (WMF).
- On the Edit menu, click Copy.
- On the Edit menu, click Paste Special. The Paste Special dialog box appears.
- Click Picture, and then click OK.
Convert duplicate shapes to a single master shapeIf you created shapes in your Visio drawing, consider converting duplicate shapes to masters. When you create a master shape, Visio stores it in the drawing's local stencil. When you drag a shape to a stencil, a master shape icon that is based on the shape appears in the stencil window.
For example, instead of your drawing containing 20 copies of a shape, your drawing can contain a single copy of the shape. That is, your drawing can contain a master shape and the instances of the master shape as references. The references use less disk space than duplicate copies of the shape.
To convert a shape to a master, follow these steps:
- In the Drawing window, display the shape that you want to convert to a master, or draw a shape that you want to convert.
- On the File menu, click Open, and then select the stencil file (.vss file) where you want to store the new master.
- Click Original or click Copy, and then click
- Click the drawing page to make it active, and then drag the shape from the drawing page and drop it on the stencil. You can create a copy of the shape by holding down the CTRL key while you drag.
The shape icon appears with a label "Master.X," where X is a number that represents the number of shapes on the stencil.
- Click the stencil to make it active. On the File menu, click Save to save the changes to the stencil.
Do not save your drawing as an XML drawing (.vdx file)Visio lets you save your drawing in XML format. When you save a drawing as an .vdx file, the size of the file increases 1000 percent. For example, a drawing that is 500 kilobytes (KB) increases to almost 5 megabytes (MB) when it is saved as an XML drawing. This increase is because .vdx files are strictly text files.
For more information about XML for Visio, visit the following Microsoft Web site:
For more information about XML for Visio, click Microsoft Office Visio Help on the Help menu, type XML in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.
รหัสบทความ: 305025 - การตรวจสอบครั้งสุดท้าย: 8 ส.ค. 2008 - ฉบับแก้ไข: 1