Common.SetLanguage: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Chris Kahn (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{Template:Common.SetLanguage.Cmt}} | {{Template:Common.SetLanguage.Cmt}} | ||
== | == Syntax== | ||
*SetLanguage( {{APIName|language}} {{APIPrefix|As}} [[Language Enumeration]] ) | |||
{{APIName|language}} | |||
{{APIPrefix|As}} | |||
Parameters | |||
:''language'': The language to use, from the [[Language]] enumeration. | |||
The language to use, from the [[Language]] | |||
== Usage Example == | == Usage Example == | ||
{{APIComment|Set the language to English}} | {{APIComment|Set the language to English}} | ||
SynthesisAPI.SetLanguage(SynthesisAPI.Language.English) | SynthesisAPI.SetLanguage(SynthesisAPI.Language.English) |
Revision as of 21:54, 5 March 2014
Sets the language for the whole library. It cannot be set separately for different instances of classes.
Syntax
- SetLanguage( language As Language Enumeration )
Parameters
- language: The language to use, from the Language enumeration.
Usage Example
Set the language to English
SynthesisAPI.SetLanguage(SynthesisAPI.Language.English)