Visio question: Shapes that are members of a layer

A

Arnaud Maes

Hello

I am trying to get the collection of shapes that are members of a layer, or to decide whether a given shape appears in a specific layer

The layer object has Add and Remove methods, but no Shapes or Members or IsMember properties

Any idea

Thanks

A.M
 
A

Arnaud Maes

Solved. I received the answer: My problem was that I missed the Shape.LayerCount and Shape.Layer(index) properties but instead I was expecting a Shape.Layers collection. Thus, I couldn't script something as "for each layer in the shape" although it suffices to use a for i=1 to Shape.LayerCount. D'Oh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top