Shapes.ContainingPage 属性 (Visio)

返回包含对象的页面。

语法

expressionContainingPage

expression:一个表示 Shapes 对象的变量。

返回值

Page

备注

如果该对象不在 Page 对象中,则 ContainingPage 属性返回 Nothing。 例如,如果某个 Shape 对象属于 Masters 集合,则 ContainingPage 属性返回 Nothing

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。