Export Multi-Page Visio Doc As WebPage

A

Aleks A.

I have the following C# code:

public void SaveFile(string infile, string outfile)
{
Application app = new Application();

app.Documents.Open(infile);
app.ActiveWindow.PageAsObj.Export(outfile);
app.ActiveWindow.Close();
app.Quit();
}

It works fine for single page Visio docs, but it would not export all of the
pages in a multi-page document. How would I set this up? Do I have to
iterate through the pages collection, and if so, how would I be able to
achieve this?
 

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