Language property

Microsoft Visio Developer Reference

Language property

See also   Example   

Represents the language ID of the version of the Microsoft Visio instance represented by the Application object.

Version added

3.0

Syntax

longRet = object.Language

longRet

Long. The language ID.

object

Required. An expression that returns an Application object.

Remarks

The Language property returns the language ID recorded in the object's VERSIONINFO resource. The IDs returned are the standard IDs used by Microsoft Windows to encode different language versions. For example, the Language property returns &H0409 for the U.S. English version of Visio. For details, search for "VERSIONINFO" in the Microsoft Platform SDK on the Microsoft Developer Network (MSDN) Web site.