XML document

V

Viorel Farcas

Hello

I am creating new Visio documents as XML files.
I set the LayerMember tag for my shapes and still they are not in the layer
i specify.
The layers are defined in the page of course.

Any suggestions?

Regards
 
C

Chris Roth [ Visio MVP ]

Visio Layers can appear to be a bit backward.

Layers are defined for the page. Shapes have "pointers" to the layers to
which they belong.

So the page might have layers as follows in the Layers section:

1. "Bob" ...
2. "Yodar" ...

A shape can belong to both layers. Such a shape's LayerMembership section
will look like this:

LayerMembership = 0,1

Note how the page numbers layers starting at 1, while the shape references
them starting with 0. Lovely.

--

Hope this helps,

Chris Roth
Visio MVP
 

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