SwitchLanguage Method Examples
The following example sets the language of the displayed text to Spanish for the active picture.
pic.LanguageDesired = 1034
pic.SwitchLanguage
- OR -
pic.SwitchLanguge (ES_Spanish)
NOTE: For a list of the ID numbers representing each language, refer to the Language Letter Acronyms table in the Exporting and Importing Language Files topic.
The following example shows how you to switch the language on only the AlarmSummary object, by clicking a rectangle in run mode.
Private Sub Rect1_Click()
AlarmSummaryOCX1.SwitchLanguage RU_Russian
End Sub