Application.TypelibMajorVersion property (Visio)
Returns the major version number of the Microsoft Visio type library. Read-only.
Syntax
expression.TypelibMajorVersion
expression A variable that represents an Application object.
Return value
Integer
Remarks
The major and/or minor version number of the Visio type library will increase whenever the Visio type library is extended. A program can use the TypelibMajorVersion and TypelibMinorVersion properties to guarantee that the Visio version it is working with provides support for the features it is using.
Small changes to the Visio type library don't affect the Application object's Version property.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.