DocumentSettings element (VisioDocument_Type complexType) (Visio XML)
Contains elements that specify document settings.
Element information
Value | |
---|---|
Element type |
DocumentSettings_Type |
Namespace |
http://schemas.microsoft.com/office/visio/2012/main |
Schema file |
VisioSchema15.xsd |
Document parts |
document.xml |
Definition
< xs:element name="DocumentSettings" type="DocumentSettings_Type" minOccurs="0" maxOccurs="1" >
</xs:element >
Elements and attributes
If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.
Parent elements
Element | Type | Description |
---|---|---|
VisioDocument |
VisioDocument_Type |
The root element of a Microsoft Visio document. |
Child elements
Element | Type | Description |
---|---|---|
AttachedToolbars |
AttachedToolbars_Type |
A MIME (Multipurpose Internet Mail Extensions) encoded Microsoft Visio user interface (VSU) file representing custom toolbars. |
CustomMenusFile |
CustomMenusFile_Type |
Contains the name of the Microsoft Visio user interface (.vsu) file that defines custom menus and accelerators for a document. |
CustomToolbarsFile |
CustomToolbarsFile_Type |
Contains the name of the Microsoft Visio user interface (.vsu) file that defines custom toolbars and status bars for a document. |
DynamicGridEnabled |
DynamicGridEnabled_Type |
Specifies whether the dynamic grid feature is enabled for a document or window. |
GlueSettings |
GlueSettings_Type |
Specifies the objects that shapes glue to when glue is enabled in the document. |
ProtectBkgnds |
ProtectBkgnds_Type |
Specifies whether the user is prevented from deleting or editing background pages. |
ProtectMasters |
ProtectMasters_Type |
Specifies whether the user is prevented from creating, editing, or deleting masters. Regardless of this setting, the user can still create instances of masters. |
ProtectShapes |
ProtectShapes_Type |
Specifies whether the user is prevented from selecting shapes that have their LockSelect element set to 1. |
ProtectStyles |
ProtectStyles_Type |
Specifies whether the user is prevented from creating or editing styles. |
SnapAngles |
SnapAngles_Type |
Contains a collection of SnapAngle elements. |
SnapExtensions |
SnapExtensions_Type |
Specifies whether a specific snap extension setting is enabled or disabled for the active window. |
SnapSettings |
SnapSettings_Type |
Specifies the objects that shapes snap to when snap is active in the window. |
Attributes
Attribute | Type | Required | Description | Possible values |
---|---|---|---|---|
DefaultFillStyle |
xsd:unsignedInt |
optional |
Specifies the ID of a StyleSheet element. | Values of the xsd:unsignedInt type. |
DefaultGuideStyle |
xsd:unsignedInt |
optional |
Specifies the ID of a StyleSheet element. | Values of the xsd:unsignedInt type. |
DefaultLineStyle |
xsd:unsignedInt |
optional |
Specifies the ID of a StyleSheet element. | Values of the xsd:unsignedInt type. |
DefaultTextStyle |
xsd:unsignedInt |
optional |
Specifies the ID of a StyleSheet element. | Values of the xsd:unsignedInt type. |
TopPage |
xsd:unsignedInt |
optional |
Specifies the ID of the page that should be displayed when the document is opened by Microsoft Visio. | Values of the xsd:unsignedInt type. |