DocumentSettings
Contents
[
Hide
]DocumentSettings class
Contains elements that specify document settings.
Properties
| Name | Type | Description |
|---|---|---|
| TopPage | int | Specifies the ID of the page that should be displayed when the document is opened by Microsoft Visio. |
| DefaultTextStyle | int | Specifies the ID of a StyleSheet element. The next time the user creates a shape using a drawing tool, the shape inherit |
| DefaultLineStyle | int | Specifies the ID of a StyleSheet element. The next time the user creates a shape using a drawing tool, the shape inherit |
| DefaultFillStyle | int | Specifies the ID of a StyleSheet element. The next time the user creates a shape using a drawing tool, the shape inherit |
| DefaultGuideStyle | int | Specifies the ID of a StyleSheet element. The next time the user creates a guide, the guide inherits its guide style fro |
| GlueSettings | int | Specifies the objects that shapes glue to when glue is enabled in the document. The value of the property is GlueSetting |
| SnapSettings | int | Specifies the objects that shapes snap to when snap is active in the window. The value of the property is SnapSettings i |
| SnapExtensions | int | Specifies whether a specific snap extension setting is enabled or disabled for the active window. The value of the prope |
| SnapAngles | FloatPointNumCollection | Contains a collection of SnapAngle elements. |
| DynamicGridEnabled | int | Specifies whether the dynamic grid feature is enabled for a document or window. The value of the property is BOOL intege |
| ProtectStyles | int | Specifies whether the user is prevented from creating or editing styles. However, regardless of this setting, the user c |
| ProtectShapes | int | Specifies whether the user is prevented from selecting shapes that have their LockSelect element set to 1. The value of |
| ProtectMasters | int | Specifies whether the user is prevented from creating, editing, or deleting masters. Regardless of this setting, the use |
| ProtectBkgnds | int | Specifies whether the user is prevented from deleting or editing background pages. The value of the property is BOOL int |
| CustomMenusFile | String | Contains the name of the Microsoft Visio user interface (.vsu) file that defines custom menus and accelerators for a doc |
| CustomToolbarsFile | String | Contains the name of the Microsoft Visio user interface (.vsu) file that defines custom toolbars and status bars for a d |
| AttachedToolbars | byte[] | A MIME (Multipurpose Internet Mail Extensions) encoded Microsoft Visio user interface (VSU) file representing custom too |