편집

다음을 통해 공유


AutoCaption Interface

Definition

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

public interface class AutoCaption
[System.Runtime.InteropServices.Guid("0002097B-0000-0000-C000-000000000046")]
public interface AutoCaption
type AutoCaption = interface
Public Interface AutoCaption
Attributes

Remarks

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.

Properties

Application

Returns a value that represents a Application object that represents the creator of the specified object.

AutoInsert

Returns or sets a value indicating whether a caption is automatically added when the item is inserted into a document.

CaptionLabel

Returns or sets the caption label ("Figure," "Table," or "Equation," for example) of the specified caption.

Creator

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

Index

Returns a value that represents the position of an item in a collection.

Name

Returns the name of the specified object.

Parent

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

Applies to