Aracılığıyla paylaş


Bookmark.LanguageIDOther Özellik

Alır veya ayarlar için dil Bookmark denetim.

Ad alanı:  Microsoft.Office.Tools.Word
Derleme:  Microsoft.Office.Tools.Word (Microsoft.Office.Tools.Word.dll içinde)

Sözdizimi

'Bildirim
Property LanguageIDOther As WdLanguageID
WdLanguageID LanguageIDOther { get; set; }

Özellik Değeri

Tür: Microsoft.Office.Interop.Word.WdLanguageID
WdLanguageID değerlerinden biri.

Notlar

Döndürmek veya bir Microsoft Office Word'ün sağdan sola dil sürümünde oluşturulmuş bir belgeyi Latince metnin dilini ayarlamak için önerilen yol budur.

Örnekler

Aşağıdaki kod örneği ekler bir Bookmark ilk paragraf ve ayarlar denetim LanguageIDOther Fransızca için özellik.

Bu örnek, belge düzeyinde özelleştirme içindir

Private Sub BookmarkLanguageIDOther()
    Dim Bookmark1 As Microsoft.Office.Tools.Word.Bookmark = _
        Me.Controls.AddBookmark(Me.Paragraphs(1).Range, "Bookmark1")
    Bookmark1.LanguageIDOther = Word.WdLanguageID.wdFrench
    MessageBox.Show("Bookmark1's LanguageID is set to " & _
        Bookmark1.LanguageID.ToString)

End Sub
private void BookmarkLanguageIDOther()
{
    Microsoft.Office.Tools.Word.Bookmark bookmark1 =
        this.Controls.AddBookmark(this.Paragraphs[1].Range,
        "bookmark1");

    bookmark1.LanguageIDOther = Word.WdLanguageID.wdFrench;
    MessageBox.Show("Bookmark1's LanguageID is set to " +
        bookmark1.LanguageID.ToString());
}

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

Bookmark Arabirim

Microsoft.Office.Tools.Word Ad Alanı