How can I create a visio document and draw a shape?

L

Lee Billows

How can I create a visio document and draw a shape in my program without
enter Ms Visio?

Thanks!
 
C

Chris Roth [ Visio MVP ]

To create a Visio file without starting Visio, you would have to write the
Visio file format, of course! There are two ways to do this:

1. Crack the Visio file format. (not recommended)
2. Learn the Visio xml file format (recommended)

Search for "Visio 2003 SDK" online and you will get info on the Visio xml
file format.

--

Hope this helps,

Chris Roth
Visio MVP
 
L

Lee Billows

Thanks Chris Roth,Your advice is very helpful.
Can you give me a simple Demo?
 
C

Chris Roth [ Visio MVP ]

Nothing handy. There must be something in the SDK or the code librarian? I
haven't checked.

Just make a very simple Visio document with, say one shape, then save it as
Visio XML (.vdx). Then you can open it in a text app or in IE and have a
look at the structure.

--

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