返回一个 CaptionLabels 集合,该集合包括全部有效题注标签。只读。
有关返回集合中单个成员的内容,请参阅返回集合中的对象。
本示例为表格题注设置编号样式。
CaptionLabels(wdCaptionTable).NumberStyle = _
wdCaptionNumberStyleLowercaseRoman
本示例先添加一个名为“Photo”的新题注标签,然后插入一个照片题注。
CaptionLabels.Add Name:="Photo"
With Selection
.InsertParagraphAfter
.InsertCaption Label:="Photo"
End With