Aracılığıyla paylaş


DocumentBase.TablesOfFigures Özellik

Alır bir TablesOfFigures temsil eden şekiller belgedeki tablolar koleksiyonu.

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

Sözdizimi

'Bildirim
Public ReadOnly Property TablesOfFigures As TablesOfFigures
public TablesOfFigures TablesOfFigures { get; }

Özellik Değeri

Tür: Microsoft.Office.Interop.Word.TablesOfFigures
A TablesOfFigures temsil eden şekiller belgedeki tablolar koleksiyonu.

Örnekler

Aşağıdaki kod örneğinde etkin belgede ekleme noktasında şekiller tablosu ekler.Bu örnek belgeyi bir veya daha fazla şekil resim yazılarına olduğunu varsayar.Bu örneği kullanmak için çalıştırın ThisDocument bir belge düzeyi projesinde sınıf.

Private Sub DocumentTablesOfFigures()
    Dim Caption As Object = Word.WdCaptionLabelID.wdCaptionFigure
    Me.TablesOfFigures.Add(Me.Application.Selection.Range, Caption)
End Sub 
private void DocumentTablesOfFigures()
{
    object Caption = Word.WdCaptionLabelID.wdCaptionFigure;
    this.TablesOfFigures.Add(this.Application.Selection.Range,
        ref Caption, ref missing, ref missing, ref missing,
        ref missing, ref missing, ref missing, ref missing,
        ref missing, ref missing, ref missing, ref missing);
}

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

DocumentBase Sınıf

Microsoft.Office.Tools.Word Ad Alanı