While the shape is selected, click Show ShapeSheet on the Window menu. Scroll to find the Custom Properties section of the ShapeSheet. If it is not visible, click Sections on the View menu. Check custom properties.
The Layer Properties dialog box allows to change the properties of individual layers. It comprises of several checkboxes such as Name, #, Visible, Print, Active, Lock, Snap, Glue, and Color.
View shape data To view the shape data for any Visio object: Right-click the shape, and then select Data > Shape Data. The Shape Data window opens.
In Visio, layers let you organize the shapes in a drawing. You can group a related set of shapes in a layer, which allows you to change various properties of all the layer members at once. The following properties can be set: Visible – Show or hide a layer.
I have the following task. I'm writing an Add-In for Visio 2010 on C# in Studio 2010. Let's say that I have a diagram opened. And I have a shape of any kind in this diagram (let's try to manage one shape for the begining). The question is how can I read any properties of this shape? Which API should I use?
Basic algorithm:
(Code example would be greatly appreciated)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With