TypelibMajorVersion property

Microsoft Visio Developer Reference

TypelibMajorVersion property

   Example   

Returns the major version number of the Microsoft Visio type library.

Version added

2000

Syntax

intRet = object.TypelibMajorVersion

intRet

Integer. The major version number of the Visio type library.

object

Required. An expression that returns an Application object.

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 do not affect the Application object's Version property.