表达式。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# 复制 public void SelectAll (); 注解 此方法不选择 InlineShapes 对象。 适用于 产品版本 Word primary interop assembly Latest ...
ActiveDocument.Shapes.SelectAll 注意 [!注意事項] 如果您想要執行的某個項目 (如刪除或設定屬性),同時文件上的所有圖案,使用範圍方法以建立包含的Shapes集合中的所有圖案的ShapeRange物件,然後套用適當的屬性或方法對ShapeRange物件。 使用Shapes集合的下列其中一種方法:Add3DModel、AddCallout、AddCurve、AddLabel、Add...
选择文档的主要文字部分、画布、页眉和页脚中的所有图形。 expression.SelectAll expression 必需。该表达式返回“应用于”列表中的一个对象。 说明 …
选择Shapes 集合中的所有形状。 语法 表达式。SelectAll expression:一个表示 Shapes 对象的变量。 返回值 Nothing 另请参阅 Shapes 对象 支持和反馈 有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。
多种对象 Shapes (Shape) 多种对象 由 Shape 对象组成的集合,这些对象代表文档中或者文档页眉和页脚中的所有图形。每个 Shape 对象代表图形层中的一…
程序集: Microsoft.Office.Interop.Word.dll 表示对象在绘图层中,如自选图形、 任意多边形、 OLE 对象、 ActiveX 控件或图片。 C# 复制 [System.Runtime.InteropServices.Guid("000209A0-0000-0000-C000-000000000046")] public interface Shape 属性 GuidAttribute 注解 对象Shape是 集合的成员Shapes,该集合包括文...
To select multiple shapes in a group, press and hold Shift or Ctrl while you click or tap the shapes. Cancel the selection of one object at a time. Press and hold Shift or Ctrl while you click or tap each object.See also Group shapes, pictures, or other objects in Word ...
To select multiple shapes in a group, press and hold Shift or Ctrl while you click or tap the shapes. Cancel the selection of one object at a time. Press and hold Shift or Ctrl while you click or tap each object. See also Group shapes, pictures, or other objects in Word...