Common.SetLanguage: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


== Usage Example ==
== Usage Example ==
{{APIComment|Set the language to English}}
<div style="margin-right: 150px;">
        SynthesisAPI.SetLanguage(SynthesisAPI.Language.English)
{{APIComment|'Set the language to English}}
  SynthesisAPI.SetLanguage(SynthesisAPI.Language.English)
</div>

Revision as of 16:50, 15 May 2014


Sets the language for the whole library. It cannot be set separately for different instances of classes.

Syntax

Parameters

language: The language to use, from the Language enumeration.

Usage Example

 'Set the language to English 
 SynthesisAPI.SetLanguage(SynthesisAPI.Language.English)