Visio files and c#

H

Haxan

Hi,
How can i get datamodel of a visio file (like visio stencil files, visio
drawing files) from c# using Microsoft.Office.Interop.Visio. And also i
want to get all shapes/objects/connections in the file.
All code will be developed in c#

Thanks in advance

Best Regards,
Haxan
 
J

JuneTheSecond

OpenEx method might open documents.
Examples might be found in code librarian in th Visio SDK.
 
H

Haxan

Hi,
I think i couldnt explain it well. I mean how i can discover the structure
of what a file has in it. Lets say that in text files ".txt", text is
cleartext, everything is readable. But in visio files it is not encrypted
somehow.
Second issue is i want to reach all shapes+objects+everything in visio
drawing using c#.

I have a small application which has Microsoft.Office.Interop.Visio and
AxMicrosoft.Office.Interop.VisOcx.AxDrawingControl . I can open stencils,
drawings but i cant get information from drawingcontrol, i want to know how
i can get.

Thanks in advance
 
A

Al Edlund

visio files are in a proprietary format which is not published. They can be
saved as xml and the schema is documented on msdn. There are numerous
programming examples/snippets in the visio sdk which is also available on
msdn.
al

Haxan said:
Hi,
I think i couldnt explain it well. I mean how i can discover the structure
of what a file has in it. Lets say that in text files ".txt", text is
cleartext, everything is readable. But in visio files it is not encrypted
somehow.
Second issue is i want to reach all shapes+objects+everything in visio
drawing using c#.

I have a small application which has Microsoft.Office.Interop.Visio and
AxMicrosoft.Office.Interop.VisOcx.AxDrawingControl . I can open stencils,
drawings but i cant get information from drawingcontrol, i want to know
how i can get.

Thanks in advance
 

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