Aracılığıyla paylaş


DocumentBase.FormattingShowFilter Özellik

Tanım

Stiller ve Biçimlendirme görev bölmesinde görüntülenen stilleri ve biçimlendirmeyi temsil eden bir WdShowFilter sabit alır veya ayarlar.

public:
 property Microsoft::Office::Interop::Word::WdShowFilter FormattingShowFilter { Microsoft::Office::Interop::Word::WdShowFilter get(); void set(Microsoft::Office::Interop::Word::WdShowFilter value); };
public Microsoft.Office.Interop.Word.WdShowFilter FormattingShowFilter { get; set; }
member this.FormattingShowFilter : Microsoft.Office.Interop.Word.WdShowFilter with get, set
Public Property FormattingShowFilter As WdShowFilter

Özellik Değeri

Değerlerden WdShowFilter biri.

Örnekler

Aşağıdaki kod örneği , Stiller ve Biçimlendirme görev bölmesindeki biçimlendirmeyi yalnızca belgede kullanımda olan biçimlendirmeyi gösterecek şekilde filtreler. Bu örneği kullanmak için belge düzeyinde bir projede sınıfından ThisDocument çalıştırın.

private void DocumentFormattingShowFilter()
{
    this.FormattingShowFilter = Word.WdShowFilter.wdShowFilterFormattingInUse;	
}
Private Sub DocumentFormattingShowFilter()
    Me.FormattingShowFilter = Word.WdShowFilter.wdShowFilterFormattingInUse
End Sub 

Şunlara uygulanır