Partager via


CaptionLabel Members (Word)

Represents a single caption label. 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.

Methods

Name

Description

Delete

Deletes the specified caption label.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

BuiltIn

True if the specified caption label is one of the built-in caption labels in Word. Read-only Boolean.

ChapterStyleLevel

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

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

ID

Returns a WdCaptionLabelID constant that represents the type for the specified caption label if the BuiltIn property of the CaptionLabel object is True. Read-only.

IncludeChapterNumber

True if a chapter number is included with page numbers or a caption label. Read/write Boolean.

Name

Returns the name of the specified object. Read-only String.

NumberStyle

Returns or sets the number style for the CaptionLabel object. Read/write WdCaptionNumberStyle.

Parent

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

Position

Returns or sets the position of caption label text. Read/write WdCaptionPosition.

Separator

Returns or sets the character between the chapter number and the sequence number. Read/write WdSeparatorType.