CaptionLabel CaptionLabel CaptionLabel Interface

Definition

Represents a single caption label.

public interface class CaptionLabel
[System.Runtime.InteropServices.Guid("00020979-0000-0000-C000-000000000046")]
public interface CaptionLabel
Public Interface CaptionLabel
Attributes

Remarks

The CaptionLabel object is a member of the CaptionLabels collection. The items in the CaptionLabels collection are listed in the Label box in the Caption dialog box (Insert menu).

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.

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

Properties

Application Application Application

Returns an Application object that represents the Microsoft Word application.

BuiltIn BuiltIn BuiltIn

Returns a value that indicates if the specified object is one of the built-in styles or caption labels in Microsoft Word.

ChapterStyleLevel ChapterStyleLevel ChapterStyleLevel

Returns or sets the heading style that marks a new chapter when chapter numbers are included with the specified caption label.

Creator Creator Creator

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

ID ID ID

Returns a value that represents the type for the specified caption label if the BuiltIn property of the CaptionLabel object is True.

IncludeChapterNumber IncludeChapterNumber IncludeChapterNumber

Returns or sets a value that indicates if a chapter number is included with page numbers or a caption label.

Name Name Name

Returns the name of the specified object.

NumberStyle NumberStyle NumberStyle

Returns or sets the number style for the CaptionLabel object.

Parent Parent Parent

Returns the parent object of the specified object.

Position Position Position

Returns or sets a value that indicates the position of caption label text.

Separator Separator Separator

Returns or sets a value that indicates the character between the chapter number and the sequence number.

Methods

Delete() Delete() Delete()

Deletes the specified object.

Applies to