Research.SetLanguagePair Method
Sets the languages for the translation service.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function SetLanguagePair ( _
LanguageFrom As WdLanguageID, _
LanguageTo As WdLanguageID _
) As Object
'Usage
Dim instance As Research
Dim LanguageFrom As WdLanguageID
Dim LanguageTo As WdLanguageID
Dim returnValue As Object
returnValue = instance.SetLanguagePair(LanguageFrom, _
LanguageTo)
Object SetLanguagePair(
WdLanguageID LanguageFrom,
WdLanguageID LanguageTo
)
Parameters
- LanguageFrom
Type: Microsoft.Office.Interop.Word.WdLanguageID
Specifies the language to translate from.
- LanguageTo
Type: Microsoft.Office.Interop.Word.WdLanguageID
Specifies the langauge to translate to.
Return Value
Type: System.Object
Object