Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AutoCaption Interface
Collapse the table of content
Expand the table of content

AutoCaption Interface

Represents a single caption that can be automatically added when items such as tables, pictures, or OLE objects are inserted into a document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

[GuidAttribute("0002097B-0000-0000-C000-000000000046")]
public interface AutoCaption

The AutoCaption object is a member of the AutoCaptions collection. The AutoCaptions collection contains all the captions listed in the AutoCaption dialog box (Insert menu).

Use AutoCaptions(index), where index is the caption name or index number, to return a single AutoCaption object. The caption names correspond to the items listed in the AutoCaption dialog box (Insert menu). You must exactly match the spelling (but not necessarily the capitalization) of the name, as it's shown in the AutoCaption dialog box.

The index number represents the position of the AutoCaption object in the list of items in the AutoCaption dialog box.

AutoCaption objects cannot be programmatically added to or deleted from the AutoCaptions collection.

Community Additions

ADD
Show:
© 2015 Microsoft