包括适用于绘图中两个形状之间每个连接的 连接 的连接对象,例如组织结构图中的折线和框。
备注
Connects 集合的默认属性为 Item。
使用 Shape 对象的 Connects 属性检索带有 Connect 对象的 Connects 集合,其中包含指示的 Shape 对象连接到 (粘附) 的每个 Shape 对象的 Connect 对象。
使用 Shape 对象的 FromConnects 属性检索具有连接 (粘附) 到指示 Shape 对象的每个 Shape 对象的 Connect 对象的 Connects 集合。
使用 Page 对象的 Connects 属性检索 Connects 集合,其中包含 Page 对象上每个连接的条目。
使用 Master 对象的 Connects 属性检索 Connects 集合,其中包含 Master 对象中每个连接的条目。
如果 Visual Studio 解决方案包含 Microsoft.Office.Interop.Visio 引用,则此集合映射到以下类型:
- Microsoft.Office.Interop.Visio.IVConnects.GetEnumerator () 枚举“ 连接 对象”) 的 (
属性
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。