Application.LanguageSettings Property
InfoPath Developer Reference |
A read-only property that returns a reference to the Microsoft Office LanguageSettings object. Read-only
Version Information
Version Added: InfoPath 2003
Syntax
expression.LanguageSettings
expression An expression that returns a Application object.
Return Value
Object
Remarks
The LanguageSettings property is available only when using scripting code.
After you establish a reference to the LanguageSettings object, you can access all the properties and methods of the object.
Security Level 0: Can be accessed without restrictions.
Example
The following example uses the LanguageID property of the LanguageSettings object to return the LCID value (a four-digit number) for the language that is currently being used for the Office help system.
Note |
---|
Because Microsoft Office InfoPath 2007 uses scripting code instead of Visual Basic for Applications (VBA), you cannot use the names of enumerated values; you must use the numerical values of the enumerations, as in the previous example (msoLanguageIDHelp = 3). |
JScript |
---|
|
See Also