Selection.InsertCaption(Object, Object, Object, Object, Object) 方法

定义

紧靠在指定的所选内容之前或之后插入题注。

public void InsertCaption (ref object Label, ref object Title, ref object TitleAutoText, ref object Position, ref object ExcludeLabel);
abstract member InsertCaption : obj * obj * obj * obj * obj -> unit
Public Sub InsertCaption (ByRef Label As Object, Optional ByRef Title As Object, Optional ByRef TitleAutoText As Object, Optional ByRef Position As Object, Optional ByRef ExcludeLabel As Object)

参数

Label
Object

必需的 对象。 要插入的题注标签。 WdCaptionLabelID.

Title
Object

可选 对象。 如果TitleAutoText指定) ,则忽略要紧跟在 标签后面的字符串描述文字 (。

TitleAutoText
Object

可选 对象。 要紧跟在描述文字 (标签后面的自动图文集条目将覆盖) 指定Title的任何文本。

Position
Object

可选 对象。 指定是将描述文字插入到对象的上方还是下方SelectionWdCaptionPosition.

ExcludeLabel
Object

可选 对象True 不包括参数中 Label 定义的文本标签; False 包括指定的标签。

适用于