Selection.InsertCaption(Object, Object, Object, Object, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
紧靠在指定的所选内容之前或之后插入题注。
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
可选 对象。 指定是将描述文字插入到对象的上方还是下方Selection。 WdCaptionPosition.
- ExcludeLabel
- Object
可选 对象。 True 不包括参数中 Label
定义的文本标签; False 包括指定的标签。