Visio Guy

Visio Discussions => Programming & Code => Topic started by: wwtaylor on August 18, 2008, 02:25:31 PM

Title: Change a pages layers through custom properties window
Post by: wwtaylor on August 18, 2008, 02:25:31 PM
i am trying to create a custom properties window object to change the layers on the page. i want to create multiple objects on a drawing and turn layers on and off to get the objects in need for the current situation. thanks for any help.
Will
Title: Re: Change a pages layers through custom properties window
Post by: Lars-Erik on August 20, 2008, 01:00:20 PM
Using the page its shapesheet you can create a customproperty, make it a boolean. Then look at the section called Layers, you can then have the row called "visible"  respond to the value of the custom property.

I think this should do what you are looking for.