Shape.ContainingPageID 属性 (Visio)Shape.ContainingPageID Property (Visio)

返回包含对象的页的 ID。Returns the ID of the page that contains an object. 只读。Read-only.


表达式expression. ContainingPageID

_表达式_代表Shape对象的变量。expression A variable that represents a Shape object.

返回值Return value



如果对象不在Page对象,则ContainingPageID属性返回-1。If the object is not in a Page object, the ContainingPageID property returns -1. 例如,如果Shape对象属于Masters集合,则ContainingPageID属性返回-1。For example, if a Shape object belongs to a Masters collection, the ContainingPageID property returns -1.

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.