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...
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...
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...
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...
可选对象。 指定是将描述文字插入到对象的上方还是下方Selection。WdCaptionPosition. ExcludeLabel Object 可选对象。True不包括参数中Label定义的文本标签;False包括指定的标签。 适用于 产品版本 Word primary interop assemblyLatest 反馈 此页面是否有帮助?
InsertCaption InsertCells InsertColumns InsertColumnsRight InsertCrossReference InsertDateTime InsertFile InsertFormula InsertNewPage InsertParagraph InsertParagraphAfter InsertParagraphBefore InsertRows InsertRowsAbove InsertRowsBelow InsertStyleSeparator InsertSymbol ...
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 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 aut...