Bewerken

Delen via


CaptionLabel Interface

Definition

Represents a single caption label.

public interface class CaptionLabel
[System.Runtime.InteropServices.Guid("00020979-0000-0000-C000-000000000046")]
public interface CaptionLabel
type CaptionLabel = interface
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

Returns an Application object that represents the Microsoft Word application.

BuiltIn

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

ChapterStyleLevel

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

Creator

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

ID

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

IncludeChapterNumber

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

Name

Returns the name of the specified object.

NumberStyle

Returns or sets the number style for the CaptionLabel object.

Parent

Returns the parent object of the specified object.

Position

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

Separator

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

Methods

Delete()

Deletes the specified object.

Applies to