편집

다음을 통해 공유


CaptionLabels Interface

Definition

A collection of CaptionLabel objects that represent the available caption labels.

public interface class CaptionLabels : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020978-0000-0000-C000-000000000046")]
public interface CaptionLabels : System.Collections.IEnumerable
type CaptionLabels = interface
    interface IEnumerable
Public Interface CaptionLabels
Implements IEnumerable
Attributes
Implements

Remarks

The items in the CaptionLabels collection are listed in the Label box in the Caption dialog box (Insert menu).

Use the CaptionLabel property to return the CaptionLabels collection. By default, the CaptionLabels collection includes the three built-in caption labels: Figure, Table, and Equation.

Use the Add(String) method to add a custom caption label.

Use CaptionLabels(index), where index is the caption label name or index number, to return a single CaptionLabel object.

The index number represents the position of the caption label in the CaptionLabels collection.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Count

Returns the number of items in the specified collection.

Creator

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

Item[Object]

Returns an individual object in a collection.

Parent

Returns the parent object of the specified object.

Methods

Add(String)

Adds a CaptionLabel object that represents a custom caption label to the CaptionLabels collection.

GetEnumerator()

Applies to