CaptionLabel Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기