Pages collection

Microsoft Visio Developer Reference

Pages collection

           

Documents (Document) Pages (Page) Multiple Objects

Includes a Page object for each drawing page in a document.

To retrieve a Pages collection, use the Pages property of a Document object.

Version added

2.0

Remarks

The default property of a Pages collection is Item.

The order of items in a Pages collection is significant: If there are n foreground pages in a document, then the first n pages in its Pages collection are foreground pages and are in order. The remaining pages in the collection are the background pages of the document; these are in no particular order.