RC-WinTrans Object Model Help |
LanguageTool.GetPrintableLanguageString |
Returns the printable language string to the given language code.
Syntax: |
GetPrintableLanguageString(LanguageCode As String) As String |
Return: | String |
Parameters: |
LanguageCode Language code for which to get the printable language code string.
|
Example: | Dim Tool As LanguageTool Dim LangCode As String Dim CodePage As Long Set Tool = Application.Tools.LanguageTool LangCode = "en-us" If (Tool.IsKnownLanguageCode(LangCode)) Then CodePage = Tool.GetCodePage(LangCode) MsgBox Tool.GetPrintableLanguageString(LangCode) & ": " _ & Tool.GetPrintableCodePageString(LangCode) End If |
See also: