Visio2002: Where Registry Settings Are Stored: Part 4 (298742)



The information in this article applies to:

  • Microsoft Visio 2002 Standard
  • Microsoft Visio 2002 Professional

This article was previously published under Q298742
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

For a Microsoft Visio 2000 version of this article, see 298426.

SUMMARY

This article is part 4 of a series of six Microsoft Knowledge Base articles that describe where registry settings are stored for Microsoft Visio 2002. For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

298736 Vso2002: Where Registry Settings Are Stored: Part 1

298739 Vso2002: Where Registry Settings Are Stored: Part 2

298740 Vso2002: Where Registry Settings Are Stored: Part 3

298744 Vso2002: Where Registry Settings Are Stored: Part 5

298747 Vso2002: Where Registry Settings Are Stored: Part 6

About Visio Registry Entries

Visio uses the Windows registry to store user settings and other application-specific information. To keep the entries in the registry to a minimum, Visio automatically writes out those settings that are not default and a few others that are useful, such as, file paths, import and export filters, and last files.

You can include all possible settings in the Windows registry. To do this, follow these steps:
  1. Start Visio.
  2. On the Tools menu, click Options, and then click the Advanced tab.
  3. Click to select the Put all settings in Windows registry check box.
  4. Click OK.
  5. Quit Visio.
The following registry subkey is the main location for Visio settings:

HKEY_CURRENT_USER\Software\Microsoft\Visio\document

The document subkey contains state information that is specific to the current document. Much of this information is also stored in the Visio data file. This article explains the settings stored in this subkey.

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

The following settings are stored in the document subkey.

AutoScaleConversionRatio=8

Visio uses this setting to determine when to automatically scale masters if the master's scale differs from the drawing page scale by this ratio.

ConnectDisplay=1

Non-zero if connection points are displayed; zero if not.

CustPropAnchorState=10 (bottom right corner)

Determines where the custom property window is anchored. The settings are:

Top = 1
Bottom = 2
Left = 4
Right = 8
Floating = 16

CustPropAutoHeight=0

Determines whether or not to automatically size the window for the contents. The settings are:

0 = Do not resize the window.
1 = Resize the window.

CustPropAutoHide=0

Determines whether or not to automatically close the window when the mouse is no longer over it.

0 = Do not automatically hide the window.
1 = Automatically hide the window.

CustPropDisplay=0

Determines whether to display the custom property window.

0 = Do not display the window.
1 = Display the window.

CustPropRect=0 0 150 150

Specifies the coordinates of the custom property window in the order of left, top, right, and bottom.

DrawingExplorerAnchorState=5, DrawingExplorerAutoHide=0, DrawingExplorerDisplay=0, DrawingExplorerPos=0 0, and DrawingExplorerRect=0 0 273 240

See the "CustProp..." settings described earlier in this article.

GridDensity=4

The density of the grid in subdivisions per inch.

GridPage=1

Non-zero if the grid is displayed on the drawing page; zero if not.

GuideDisplay=1

Non-zero if guides are displayed; zero if not.

MaxUndo=10

The maximum number of commands in the Undo buffer.

MeasurementSystem_Angle=81, MeasurementSystem_Drawing=73, MeasurementSystem_Duration=44, MeasurementSystem_Page=73, and MeasurementSystem_Text=50

The default units to use if a user doesn't type any units and no units were previously specified. _Angle, _Page, _Text, and _Duration indicate the units specified in the Default Units of Measure section of the Options dialog box, while _Drawing indicates the units specified in the Measurements section of the Page Properties dialog box. Settings are based on the following constants:
43     Elapsed weeks
44     Elapsed days
45     Elapsed hours
46     Elapsed minutes
47     Elapsed seconds
49     Picas and points
50     Points
51     Picas
52     Ciceros and didots
53     Didots
54     Ciceros
65     Inch (decimal)
66     Foot
67     Feet and inches
68     Mile (decimal)
69     Centimeter
70     Millimeter
71     Meter
72     Kilometer
73     Inch (fractional)
74     Miles (fractional)
75     Yards
81     Angles in decimal degrees
82     Angles in degrees-minutes-seconds
83     Angles in radians
84     Angles in minutes-seconds
85     Angles in seconds
				

NewMasterAlign=2

Default alignment for new masters. The settings are:
1     Left
2     Center
3     Right
				

NewMasterAutoUpdate=1

Non-zero to automatically update master icons to reflect changes to the master.

NewMasterIconSize=1

The default size of a new master. The settings are:
1     Normal
2     Tall
3     Wide
4     Double
				

PageBreakDisplay=0

0     Do not show page breaks during print preview.
1     Show page breaks.
				

PanZoomAnchorState=9, PanZoomAutoHide=0, PanZoomDisplay=0, PanZoomMergeID={00000000-0000-0000-0000-000000000000}, PanZoomMergePos=65535a PanZoomRect=0 0 205 175, and PanZoomSizePref=205 175

See the "CustProp..." settings described earlier in this article.

RulerDensity=16

The density of the rulers in subdivisions per inch.

RulerDisplay=1

Non-zero if the ruler is displayed; zero if not.

ShowFormulas=1

Zero     Display values in cells in the ShapeSheet window. This 
         is the same as checking Values on the View menu in the 
         ShapeSheet window.

Non-zero Display formulas in cells in the ShapeSheet window. This 
         is the same as checking Formulas on the View menu in the 
         ShapeSheet window.
				

SizePosAnchorState=6, SizePosAutoHeight=1, SizePosAutoHide=0, SizePosDisplay=0, SizeMergeID= {00000000-0000-0000-0000-000000000000}, SizePosMergePos= 65535, SizePosRect= 0 0 150 150, SizePosSizePref= 150 150

See the "CustProp..." settings described earlier in this article.

Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbinfo KB298742