expression。InsertCaption(_Label_,_Title_,_TitleAutoText_,_Position_,_ExcludeLabel_) 需要expression。 代表Range物件的變數。 參數 名稱必要/選用資料類型描述 Label必要Variant要插入標號標籤。 可以是字串或WdCaptionLabelID常數之一。 如果尚未定義標籤,會發生錯誤。 若要定義新的標號標籤搭配CaptionLabels物件的...
Position選用Variant會指定上方或下方選取項目是否會插入標號。 可以是WdCaptionPosition常數之一。 ExcludeLabel選用VariantTrue 是表示不包含文字標籤、 Label 參數中所定義。False會包含指定的標籤。 範例 這個範例會在插入點插入 Figure 標號。 VB Selection.Collapse Direction:=wdCollapseStart Selection.InsertCaption Labe...
Range.InsertCaption 方法 (Word) Learn 发现 产品文档 开发语言 主题 登录 本文原文为英文,已针对你所在市场进行了翻译。 你对所用语言的质量的满意度如何? GetSpellingSuggestions GoTo GoToEditableRange GoToNext GoToPrevious ImportFragment InRange InsertAfter...
Word 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 automat...
同感,我也是试了,能插入题注,但是不能设置插入在上面还是下面。这个insertcaption方法的用法和在word...
程序集: 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 必需的 对象。 要插入的题注标签。 可以是常量之 Wd...
Bookmark.InsertCaption(Object, Object, Object, Object, Object) 方法 參考 意見反應 定義 命名空間: Microsoft.Office.Tools.Word 組件: Microsoft.Office.Tools.Word.dll 插入Bookmark 控制項之前或之後立即插入標題。 C# 複製 public void InsertCaption (ref object Label, ref object Title, ref object...
Word Assembly: Microsoft.Office.Interop.Word.dll Inserts a caption immediately preceding or following the specified range. C# 複製 public void InsertCaption (ref object Label, ref object Title, ref object TitleAutoText, ref object Position, ref object ExcludeLabel); Parameters Label Object ...
程序集: 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 Object ...
Label Required Variant The caption label to be inserted. Can be a String or one of the WdCaptionLabelID constants. If the label has not yet been defined, an error occurs. Use the Add method with the CaptionLabels object to define new caption labels. Title Optional Variant The string to ...