How do I export shapes as well as other boxes and stencil to text

T

Tin_LeUSA

I need to write an code generator application using C# that read any visio
file and generate code based on the description in of each shape and stencil
or text box in the visio.
I need your expertise or point me to the right direction of how to do that.
Thanks
 
B

Barb Way

You could try leveraging the existing Database Export wizard to generate a
data report - found on the Tools > Addins > Visio Extras menu. Then take
the data set and use it as you like.
Also, you could save the Visio drawing as XML format, and then extract the
data yourself.

If you'd rather walk through an open drawing, it is pretty straight forward
to iterate through the Shapes collection and perform actions. Check the
SDK code samples and Visio automation reference regarding "Shapes
collection" to get some starting points.

Barb Way
Product Support - Visio
Microsoft Corporation
[This posting is provided "As Is" with no warranties, and confers no
rights.]
--------------------

I need to write an code generator application using C# that read any visio
file and generate code based on the description in of each shape and
stencil
or text box in the visio.
I need your expertise or point me to the right direction of how to do that.
Thanks
 

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