Range.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

必須 オブジェクト。 挿入する図表番号のラベルです。 定数の 1 つを WdCaptionLabelID 指定できます。

Title
Object

省略可能 なオブジェクト。 キャプション内のラベルの直後に挿入される文字列 (指定されている場合TitleAutoTextは無視されます)。

TitleAutoText
Object

省略可能 なオブジェクト。 キャプション内のラベルの直後に挿入する内容を持つ定型句エントリ (でTitle指定されたテキストをオーバーライドします)。

Position
Object

省略可能 なオブジェクト。 キャプションをオブジェクトの上または下にRange挿入するかどうかを指定します。 定数の 1 つを WdCaptionPosition 指定できます。

ExcludeLabel
Object

省略可能 なオブジェクトTrue の 場合、パラメーターで定義されているテキスト ラベルは Label 含まれません。 False を指定 すると、指定されたラベルが含まれます。

適用対象