How to use Visio in .NET

  • Thread starter Thread starter Chamal
  • Start date Start date
C

Chamal

Hi,
I want to know what are the ways that i can use Visio
in .NET if you are programing in c#. I'm trying to
implement a design interface in a windows application
which will allow users to design in Visio
 
Hi Chamal,

You can consume Visio through COM Interop, just as you
would for Word, Excel etc. Visio exposes a well-defined object model
exposed through COM just like the other Office apps
like Word or Excel. You would need
to add a reference to the Visio type library and then start
with "Visio.Application" as the root of the object model hierarchy.

There's also the Visio ActiveX control that you may like
to use to embed in your application. The link below contains more details:
http://msdn.microsoft.com/library/en-us/odc_vis2003_ta/html/odc_vsprogrammin
gwithvisioactivexcontrol.asp

Regards,
Aravind C
 
Back
Top