Extend Visio File menu with Save all pages as PNG

F

Fredrio

I've seen some posts about exporting all pages as images using the built-in
macro engine/vb scripts. I would like similar functionality, but with a
different starting point.

Is it possible to extend the file menu with i.e. 'Save all pages as PNG'
which then
saves the pages as 'filename+page.name.png' (same folder as drawing). If
drawing is unsaved, this opition would be disabled. Would this require
additional development tools?

Thanks for any hints.
 
J

John Goldsmith

Hello Fredrio,

Visio has two methods for adding or adapting the user interface - the
UIObject and CommandBars. The CommandBars is the prefered route these days.

In terms of tools, you can certainly use the VBE (see
http://visualsignals.typepad.co.uk/vislog/2007/10/just-for-starte.html) and
of course Visual Studio if you're getting very serious.

For a good overview of CommandBars take a look at this link:
http://msdn2.microsoft.com/en-us/library/aa201791(office.10).aspx

Hope that helps.

Best regards

John


John Goldsmith
www.visualSignals.typepad.co.uk
www.visualSignals.co.uk
 

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