Diagram Properties

The Diagram type exposes the following members.

Properties
  NameDescription
Public propertyBuildnum
The build number of the Visio instance used to create the document.
Public propertyColors
Contains the document's color table. Each document contains a single color table, which lists the 24 standard colors that are available for application to objects such as shapes, text, and layers in the document.
Public propertyDataConnections
Contains the DataConnection elements for the document.
Public propertyDataRecordSets
The collection of DataRecordset objects associated with a Document object.
Public propertyDocLangID
The unique ID of the user-interface language the user has specified in Microsoft Office 2010 Language Preferences.
Public propertyDocumentProps
Contains document property elements such as the document's title, author, and so on.
Public propertyDocumentSettings
Contains elements that specify document settings.
Public propertyDocumentSheet
Specifies a document's ShapeSheet structure.
Public propertyEmailRoutingData
Contains a MIME (Multipurpose Internet Mail Extensions) encoded MAPI e-mail routing slip for the document.
Public propertyEventItems
Contains an EventItem element for each event to which an object should respond.
Public propertyFontDirs
Indicates the Fonts folder path
Public propertyFonts
Contains a collection of Font elements
Public propertyHeaderFooter
Contains elements for a document's header and footer.
Public propertyKey
Indicates whether the document has been modified outside of Visio. If present, Visio will fully test the contents of the file. Omit for files you create outside of Visio.
Public propertyMasters
Collection Master objects.
Public propertyMetric
Whether to use metric units in the drawing. Set this attribute to True (1) to use metric units; set it to False (0) to use English units.
Public propertyPages
Collection Page objects.
Public propertyRibbonX
The Ribbon XML string that is passed to the document to customize the ribbon user interface.
Public propertySolutionXMLs
XML value.
Public propertyStart
Indicates whether the document has been modified outside of Visio. If present, Visio will fully test the contents of the file. Omit for files you create outside of Visio.
Public propertyStyleSheets
Collection StyleSheet objects.
Public propertyUserCustomUI
The Ribbon XML string that is passed to the document to customize the Quick Access toolbar or the ribbon.
Public propertyValidation
Stores information about diagram validation for the document.
Public propertyVbaProject
Gets the VbaProjectVbaProject.
Public propertyVbProjectData
Contains the Microsoft Visual Basic for Applications project data in MIME (Multipurpose Internet Mail Extensions) encoded format.
Public propertyVersion
The version number of the Visio instance. Microsoft Visio 2010 = 14.
Public propertyWindows
Contains the Window elements for a document.
See Also