S
sh856531
Hi Guys,
We have a need to programmatically create Visio diagrams using either Visio
2003 or 2007 (not sure which yet).
The idea will be to process a directory with a number of XML files and
create a diagram based on the contents of each file.
Can anyone tell me the best way to achieve this at a high level. If at all
possible I'd like to use C#.
I've looked at the XML format for visio with a view to just generating an
appropriate XML document on the fly. Problem was the XML format scared the
cack out of me. In fact, I think it scared the cack of Visual Studio as well
as it refused to even autoformat it so now the entire documents appears on 3
really long lines. And thats just with one rectangle!
I'm wondering if it is possible to use an API to create and connect shapes
but I don't know if thats possible on a server. Would that approach actually
open up lots of Visio instances as I process the files?
Huge thanks to anyone who could offer some suggestions on how to approach
this!
Best Regards
Simon
We have a need to programmatically create Visio diagrams using either Visio
2003 or 2007 (not sure which yet).
The idea will be to process a directory with a number of XML files and
create a diagram based on the contents of each file.
Can anyone tell me the best way to achieve this at a high level. If at all
possible I'd like to use C#.
I've looked at the XML format for visio with a view to just generating an
appropriate XML document on the fly. Problem was the XML format scared the
cack out of me. In fact, I think it scared the cack of Visual Studio as well
as it refused to even autoformat it so now the entire documents appears on 3
really long lines. And thats just with one rectangle!
I'm wondering if it is possible to use an API to create and connect shapes
but I don't know if thats possible on a server. Would that approach actually
open up lots of Visio instances as I process the files?
Huge thanks to anyone who could offer some suggestions on how to approach
this!
Best Regards
Simon