表达式。SelectAll expression 是必需的。 一个代表 Shapes 对象的变量。 备注 此方法不会选择 InlineShape 对象。 不能使用此方法可以选择多个画布。 示例 以下示例选择活动文档中的所有形状。 VB 复制 Sub SelectAllShapes() ActiveDocument.Shapes.SelectAll End Sub 以下示例选择活动文档的页眉和页脚中的所有形状...
運算式。SelectAll 需要expression。 代表 Shapes 物件的 變數。 註解 此方法不會選取 InlineShape 物件。 您無法使用此方法來選取一個以上的畫布。 範例 這個範例會選取使用中文件內的所有圖案。 VB 複製 Sub SelectAllShapes() ActiveDocument.Shapes.SelectAll End Sub 這個範例會選取使用中文件頁首及頁尾內的...
Microsoft.Office.Interop.Word 程序集: Microsoft.Office.Interop.Word.dll 选择main文章、画布或文档的页眉和页脚中的所有形状。 C# publicvoidSelectAll(); 注解 此方法不选择InlineShapes对象。 适用于 产品版本 word-piaword-pia 反馈 此页面是否有帮助? 是否...
To manage objects on another page, select an object on that page to display the objects on it.Quickly select all shapes in current document with Kutools for Word If you want to select all shapes in the current document at once, the Select Shapes utility in Kutools for Word makes it easy...
选择文档的主要文字部分、画布、页眉和页脚中的所有图形。 expression.SelectAll expression 必需。该表达式返回“应用于”列表中的一个对象。 说明 …
多种对象 Shapes (Shape) 多种对象 由 Shape 对象组成的集合,这些对象代表文档中或者文档页眉和页脚中的所有图形。每个 Shape 对象代表图形层中的一…
Select the top object, and then press Shift+Tab. Select objects that are part of a group. Select the group, and then do one of the following: To select one object, click or tap the object. To select multiple shapes in a group, press and hold Shift or Ctrl while you cli...
Sub RemoveWatermark() ActiveDocument.Sections(1).Range.Select Selection.HeaderFooter.Shapes.SelectAll Selection.HeaderFooter.Shapes.DeleteEnd Sub 4、按下“F5”键运行宏代码,即可去除文档底纹。 总结: 通过使用页面布局功能、背景图片功能或宏代码,您可以轻松去除Word文档底纹。这些方法简单易行,适用于不同版本的...
返回一个 Shapes 集合,该集合表示指定文档中的所有 Shape 对象。 (继承自 _Document) SharedWorkspace 返回一个 SharedWorkspace 对象,该对象表示指定文档所在的文档工作区。 (继承自 _Document) ShowGrammaticalErrors 确定语法错误是否由指定文档中的波浪绿线标记。 (继承自 _Document) ShowRevisions 此对象、...
ColumnSelectMode 确定列选择模式是否处于活动状态。 Comments 返回一个 Comments 集合,该集合代表指定选定内容中的所有注释。 ContentControls 返回一个 ContentControls 集合,该集合表示范围中包含的内容控件。 只读。 Creator 返回一个 32 位整数,它指示在其中创建指定的对象的应用程序。 Document 返回与 Document 指...