Share via


TypelibMajorVersion Property [Visio 2003 SDK Documentation]

Returns the major version number of the Visio type library.

intRet = object**.TypelibMajorVersion**

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

object     Required. An expression that returns an Application object.

Version added

2000

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.

Applies to | Application object | InvisibleApp object

See Also | TypelibMinorVersion property | Version property