Common.SetLanguage: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:
== Parameters ==
== Parameters ==
'''language'''
'''language'''
The language to use, from the [[Language]] Enum.
The language to use, from the [[Language]] enum.


== 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 22:19, 5 February 2014


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

Method Syntax

SetLanguage( ByVal language As Language)

Parameters

language The language to use, from the Language enum.

Usage Example

Set the language to English

       SynthesisAPI.SetLanguage(SynthesisAPI.Language.English)