expression。InsertCaption(_Label_,_Title_,_TitleAutoText_,_Position_,_ExcludeLabel_) 需要expression。 代表Range物件的變數。 參數 名稱必要/選用資料類型描述 Label必要Variant要插入標號標籤。 可以是字串或WdCaptionLabelID常數之一。 如果尚未定義標籤,會發生錯誤。 若要定義新的標號標籤搭配CaptionLabels物件的...
expression。InsertCaption(_Label_,_Title_,_TitleAutoText_,_Position_,_ExcludeLabel_) 需要expression。 代表Selection物件的變數。 參數 名稱必要/選用資料類型描述 Label必要Variant要插入標號標籤。 可以是字串或WdCaptionLabelID常數之一。 如果尚未定義標籤,會發生錯誤。 若要定義新的標號標籤搭配CaptionLabels物件...
Kutools for Word'sPick Up CaptionandPick Down Captionalso can insert cross reference to caption. Kutools for Wordis the ultimate Word add-in that streamlines your work and boosts your document processing skills.Get It Now! Step 1. Select a caption that you want to insert reference to in the...
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 ...
TheInsert Captionfeature in Word makes it easy to systematically add captions to pictures in a document. In other Office apps, such as PowerPoint, you manually add a text box near the image and then group the text box and image.See the instructions below. If you have multiple pictures in ...
privatevoidBookmarkInsertCaption(){this.Paragraphs[1].Range.InsertParagraphBefore(); Microsoft.Office.Tools.Word.Bookmark bookmark1 =this.Controls.AddBookmark(this.Paragraphs[1].Range,"bookmark1"); bookmark1.Text ="First bookmark";objectLabel = Word.WdCaptionLabelID.wdCaptionFigure;objectPosition...
Word.Selection.InsertCaption('图',PicN,'',0,false); %插入题注 Selection.Paragraphs.Alignment =...
Selection.InsertCaption(Object, Object, Object, Object, Object) 方法 参考 反馈 定义 命名空间: Microsoft.Office.Interop.Word 程序集: Microsoft.Office.Interop.Word.dll 紧靠在指定的所选内容之前或之后插入题注。 C# 复制 public void InsertCaption (ref object Label, ref object Title, ref object...
Assembly: Microsoft.Office.Interop.Word.dll Reserved for internal use. C# 複製 public void InsertCaptionXP (ref object Label, ref object Title, ref object TitleAutoText, ref object Position); Parameters Label Object Title Object TitleAutoText Object Position Object Applies to ...
紧接在指定区域或所选内容之前或之后插入题注。 expression.InsertCaption(Label, Title, TitleAutoText, Position) expression 必需。该表达式返回一…