Table of contents
TOC
Collapse the table of content
Expand the table of content

Shape.ContainingPageID Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns the ID of the page that contains an object. Read-only.

Syntax

expression . ContainingPageID

expression A variable that represents a Shape object.

Return Value

Long

Remarks

If the object is not in a Page object, the ContainingPageID property returns -1. For example, if a Shape object belongs to a Masters collection, the ContainingPageID property returns -1.

© 2017 Microsoft