Programmatically converting visio to html

H

Helen Chant

Hi,

Could someone tell me if it is possible to
programmatically save a visio diagram as a web page. I
know it can be done inside Visio but can you do it
through a COM component?
If so how?

Thanks,

Helen Chant
MCT, MCSD.NET, MCSD
 
M

Michael J. Hunter [MS]

Helen,

Visio has an object model you can use to control Visio from Visual Basic or
any COM application; Developing Microsoft Visio Solutions (see URL below)
has all the details.

To save as HTML, though, you'll want to use Visio's Save As Web addon's
object model. Search MSDN for "save as web page reference" to get all the
details on that.


Michael J. Hunter
Microsoft
michhu-at-online-dot-microsoft-dot-com

Developing Microsoft Visio Solutions:
http://msdn.microsoft.com/library/en-us/devref/HTML/DVS_Copyright_1270.asp
Developer Resources for Microsoft Visio:
http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28000456

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

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