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物件...
Microsoft.Office.Interop.Word 程序集: Microsoft.Office.Interop.Word.dll 紧靠在指定的所选内容之前或之后插入题注。 C# publicvoidInsertCaption(refobjectLabel,refobjectTitle,refobjectTitleAutoText,refobjectPosition,refobjectExcludeLabel); 参数 Label
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 ...
Word Developer Reference Inserts a caption immediately preceding or following the specified range. Syntax expression.InsertCaption(Label,Title,TitleAutoText,Position,ExcludeLabel) expressionRequired. A variable that represents aRangeobject. Parameters
A step by step guide to adding captions to images and graphics in Microsoft Word Choose a picture or image, the one that requires a caption or description. Access theReferencestab and selectInsert Captionin theCaptionssection. As soon as the Caption dialogue box appears, selectNew Labeland then...
Word can add captions automatically as you insert tables or other objects. On theInsertmenu, clickCaption. ClickAutoCaption, and then select the check boxes for the items that you want Word to automatically add captions to. Create a new caption label ...
Word Developer Reference Inserts a caption immediately preceding or following the specified selection. Syntax expression.InsertCaption(Label, Title, TitleAutoText, Position, ExcludeLabel) expression Required. A variable that represents a Selection object. Parameters 展開資料表 NameRequired/OptionalData Type...
Word Developer Reference Inserts a caption immediately preceding or following the specified range. Syntax expression.InsertCaption(Label, Title, TitleAutoText, Position, ExcludeLabel) expression Required. A variable that represents a Range object. Parameters 展开表 NameRequired/OptionalData TypeDescription...
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...