Expand Minimize
This topic has not yet been rated - Rate this topic

DocumentBase.TablesOfFigures Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a TablesOfFigures collection that represents the tables of figures in the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
public TablesOfFigures TablesOfFigures { get; }

Property Value

Type: Microsoft.Office.Interop.Word.TablesOfFigures
A TablesOfFigures collection that represents the tables of figures in the document.

The following code example adds a table of figures at the insertion point in the active document. This example assumes that the document has one or more figure captions. To use this example, run it from the ThisDocument class in a document-level project.

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);
}
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.