Aracılığıyla paylaş


Bookmark.Orientation Özellik

Alır veya ayarlar metin yönünü bir Bookmark metin yönü özelliği etkin olduğunda kontrol.

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

Sözdizimi

'Bildirim
Property Orientation As WdTextOrientation
WdTextOrientation Orientation { get; set; }

Özellik Değeri

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

Notlar

Yukarıda listelenen sabitlerinden biri dil desteği (ABD bağlı olarak sizin için kullanılabilir olmayabilirÖrneğin, İngilizce), seçtiğiniz veya yüklediğiniz.

Örnekler

Aşağıdaki kod örneği ekler bir Bookmark denetimi ile ilk paragrafa metin eklenir ve yer işareti metnin yönünü ayarlar wdTextOrientationVerticalFarEast.

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

Private Sub BookmarkOrientation()

    Me.Paragraphs(1).Range.InsertParagraphBefore()
    Dim Bookmark1 As Microsoft.Office.Tools.Word.Bookmark = _
        Me.Controls.AddBookmark(Me.Paragraphs(1).Range, "Bookmark1")

    Bookmark1.Text = "sample text."
    Bookmark1.Orientation = Word.WdTextOrientation _
        .wdTextOrientationVerticalFarEast

End Sub
private void BookmarkOrientation()
{
    this.Paragraphs[1].Range.InsertParagraphBefore();

    Microsoft.Office.Tools.Word.Bookmark bookmark1 =
        this.Controls.AddBookmark(this.Paragraphs[1].Range,
        "bookmark1");
    bookmark1.Text = "sample text.";

    bookmark1.Orientation = Word.WdTextOrientation.wdTextOrientationVerticalFarEast;
}

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

Bookmark Arabirim

Microsoft.Office.Tools.Word Ad Alanı