expression。InsertCrossReference(_ReferenceType_,_ReferenceKind_,_ReferenceItem_,_InsertAsHyperlink_,_IncludePosition_,_SeparateNumbers_,_SeparatorString_) 需要expression。 代表Range物件的變數。 參數 名稱必要/選用資料類型描述 ReferenceType必要Variant要插入交互參照的項目類型。 可以是任何WdReferenceType或WdCapt...
expression.InsertCrossReference(_ReferenceType_,_ReferenceKind_,_ReferenceItem_,_InsertAsHyperlink_,_IncludePosition_,_SeparateNumbers_,_SeparatorString_) expression:必需。 表示Selection对象的变量。 参数 名称必需/可选数据类型说明 ReferenceType必需Variant为要插入交叉引用的项的类型。 可以是任何WdReferenceType...
Insert cross-references in documents In documents, you can insert a cross-reference to a paragraph (for example, headings) in a document or a text inset within the document. You can also insert a cross-reference to a word or phrase in a document. In structured document, you can also inse...
程序集: Microsoft.Office.Tools.Word.dll 将对标题、书签、脚注或尾注、或对定义有标题标签的项(例如,公式、图形或表)的交叉引用插入 Bookmark 控件。 C# 复制 public void InsertCrossReference (ref object ReferenceType, Microsoft.Office.Interop.Word.WdReferenceKind ReferenceKind, ref object ReferenceItem...
程序集: Microsoft.Office.Interop.Word.dll 插入对标题、书签、脚注、尾注或定义了题注标签的项(如公式、图表或表格)的交叉引用。 C# 复制 public void InsertCrossReference (ref object ReferenceType, Microsoft.Office.Interop.Word.WdReferenceKind ReferenceKind, ref object ReferenceItem, ref object InsertAs...
This example inserts at the beginning of the active document a cross-reference to the page that includes the first bookmark in the document.VB Copy Set myRange = ActiveDocument.Range(Start:=0, End:=0) myBookmarks = ActiveDocument _ .GetCrossReferenceItems(wdRefTypeBookmark) With myRange ....
Microsoft.Office.Tools.Word 程序集: Microsoft.Office.Tools.Word.dll 将对标题、书签、脚注或尾注、或对定义有标题标签的项(例如,公式、图形或表)的交叉引用插入Bookmark控件。 C# publicvoidInsertCrossReference(refobjectReferenceType, Microsoft.Office.Interop.Word.WdReferenceKind ReferenceKind,refobjectReference...
Inserts a cross-reference to a heading, bookmark, footnote, or endnote, or to an item for which a caption label is defined (for example, an equation, figure, or table). C# publicvoidInsertCrossReference(refobjectReferenceType, Microsoft.Office.Interop.Word.WdReferenceKind ReferenceK...
You can edit cross-reference source text. The advantage of editing cross-reference text is that you can change tracking or word spacing as needed for copyfitting, or make other changes. The disadvantage is that if you update or relink the cross-reference, any local formatting changes are remov...
You create a document in Office Word 2007. You insert an English cross-reference in the document. In this scenario, the text for the cross-reference displays in the user interface language instead of English. Resolution To resol...