Page property (Layer object, Layers collection)

Microsoft Visio Developer Reference

Page property (Layer object, Layers collection)

       

Gets the page that contains the layer.

Version added

2.0

Syntax

objRet = LayerOrLayersObj.Page

objRet

The Page object that contains the layer or layers.

LayerOrLayersObj

Required. An expression that returns a Layer object or Layers collection.

Remarks

If the Layer object or Layers collection is in a master rather than in a page, the Page property returns Nothing. You cannot set the Page property of a Layer object or Layers collection.