Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Reference
 Research Property (2007 System)
Visual Studio Tools for Office API Reference
Document..::.Research Property (2007 System)

Gets the research service for the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Visual Basic (Declaration)
<BrowsableAttribute(False)> _
Public ReadOnly Property Research As Research
Visual Basic (Usage)
Dim instance As Document
Dim value As Research

value = instance.Research
C#
[BrowsableAttribute(false)]
public Research Research { get; }

Property Value

Type: Research
A Research object that represents the research service for the document.

The following code example accesses the Research object of the document to set the default language pair that is used in the translation service. It sets English (US) as the language of the source text to translate from and Japanese as the language to translate the text to. The default translation languages appear in the Research pane in Word under the Translation section.

This example is for a document-level customization.

Visual Basic
Private Sub SetTranslationLanguages()
    Me.Research.SetLanguagePair(Word.WdLanguageID.wdEnglishUS, _
                                Word.WdLanguageID.wdJapanese)
End Sub

C#
private void SetTranslationLanguages()
{
    this.Research.SetLanguagePair(Word.WdLanguageID.wdEnglishUS, 
                                Word.WdLanguageID.wdJapanese);
}

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker