AutoCaptions AutoCaptions AutoCaptions Interface


A collection of AutoCaption objects that represent the captions that can be automatically added when items such as tables, pictures, or OLE objects are inserted into a document.

public interface class AutoCaptions : System::Collections::IEnumerable
public interface AutoCaptions : System.Collections.IEnumerable
Public Interface AutoCaptions
Implements IEnumerable


Use the AutoCaptions property to return the AutoCaptions collection.

The AutoCaptions collection contains all the captions listed in the AutoCaption dialog box (Insert menu). AutoCaption objects cannot be programmatically added to or deleted from the AutoCaptions collection.

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 captions in the AutoCaption dialog box.


Application Application Application

Returns an Application object that represents the creator of the specified object.

Count Count Count

Returns the number of items in the specified collection.

Creator Creator Creator

Returns a value that indicates the application in which the specified object was created.

Item[Object] Item[Object] Item[Object]

Returns an individual object in a collection.

Parent Parent Parent

Returns an object that represents the parent object of the specified object.


CancelAutoInsert() CancelAutoInsert() CancelAutoInsert()

Prevents Microsoft Word from automatically adding captions to any type of item.

GetEnumerator() GetEnumerator() GetEnumerator()

Applies to