Document.Language Property

Visio Automation Reference

Represents the language ID of the version of the Microsoft Office Visio instance represented by the parent object. Read/write.

Version Information
 Version Added:  Visio 3.0

Syntax

expression.Language

expression   A variable that represents a Document object.

Return Value
Long

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 MSDN, the Microsoft Developer Network.

See Also