Exporting to GIF or PNG with the Shape.Export method

O

Olaf Lischke

Hi all,

the help to the Shape.Export method says "The Export method uses the default
preference settings for the specified filter and does not prompt the user for
non-default arguments."

That's quite nice for a straight forward approach to exporting VSDs to GIF
or PNG, but what if I'd like to export them as thumbnails, let's say 30x80
pixels?
How do I set preferences to that export filter programmatically? I'm using
the Microsoft.Office.Interop.Visio namespace in VB.NET.

Thx
Olaf
 
M

Mark Nelson [MS]

Hi Olaf,

Unfortunately those settings are not exposed through automation. Visio uses
whatever settings were chosen by the user the last time they exported.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 
O

Olaf Lischke

Thanks Mark,

seems if it is as it is.
So my VB.NET application should transform the PNG exported by Visio to a
thumbnail picture afterwards.

Bye
Olaf
 

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