Click the picture you want to add a caption to. ClickReferences>Insert Caption. To use the default label (Figure), type your caption in theCaptionbox. Tip:You can also create your own default caption label by clickingNew Label, and then adding your caption in theLabelbox. Word automatically...
Word.Selection.InsertCaption('图',PicN,'',0,false); %插入题注 Selection.Paragraphs.Alignment =...
expression。 InsertCaption( _Label_ , _Title_ , _TitleAutoText_ , _Position_ , _ExcludeLabel_ )expression 是必需的。 一个代表 Range 对象的变量。参数展开表 名称必需/可选数据类型说明 Label 必需 Variant 要插入的题注标签。 可以是一个 字符串 或WdCaptionLabelID 常量之一。 如果未定义标签,则...
Position選用Variant會指定上方或下方選取項目是否會插入標號。 可以是WdCaptionPosition常數之一。 ExcludeLabel選用VariantTrue 是表示不包含文字標籤、 Label 參數中所定義。False會包含指定的標籤。 範例 這個範例會在插入點插入 Figure 標號。 VB Selection.Collapse Direction:=wdCollapseStart Selection.InsertCaption Labe...
程序集: Microsoft.Office.Interop.Word.dll 紧靠在指定的所选内容之前或之后插入题注。 C# 复制 public void InsertCaption (ref object Label, ref object Title, ref object TitleAutoText, ref object Position, ref object ExcludeLabel); 参数 Label Object 必需的 对象。 要插入的题注标签。 WdCaptionLa...
Microsoft.Office.Interop.Word.dll Inserts a caption immediately preceding or following the specified range. C# publicvoidInsertCaption(refobjectLabel,refobjectTitle,refobjectTitleAutoText,refobjectPosition,refobjectExcludeLabel); Parameters Label Object ...
Microsoft.Office.Interop.Word.dll Inserts a caption immediately preceding or following the specified range. C# publicvoidInsertCaption(refobjectLabel,refobjectTitle,refobjectTitleAutoText,refobjectPosition,refobjectExcludeLabel); Parameters Label Object ...
Word 程序集: Microsoft.Office.Tools.Word.dll 紧靠Bookmark 控件之前或之后插入标题。 C# 复制 public void InsertCaption (ref object Label, ref object Title, ref object TitleAutoText, ref object Position, ref object ExcludeLabel); 参数 Label Object 要插入的标题标签。 WdCaptionLabelID. Titl...
Word 程序集: Microsoft.Office.Tools.Word.dll 紧靠Bookmark 控件之前或之后插入标题。 C# 复制 public void InsertCaption (ref object Label, ref object Title, ref object TitleAutoText, ref object Position, ref object ExcludeLabel); 参数 Label Object 要插入的标题标签。 WdCaptionLabelID. Title ...
是最流行的文字处理程序之一,它功能强大,简学易懂,但同时也有一个缺点,当一个Word文档储存的内容...