Setting Filter Properties Through Automation

D

Deep S.

Hi,

I'm converting Visio drawings to gif files.
I can set the resolution in option dialog.
How can i set it through automation.

Till now i have only one option.
Ask user to save as graphic the first dummy node,
Then Visio remembers that setting for that
particular session.

Please Help.
Regards
DeepS
 
A

Andy [MS]

Unfortunately, it is not possible to set the size of the image via
automation. There are 2 possible workarounds:

1. Set the size in the UI. The settings are sticky, so the next time you use
automation to save the page as a png, it should use the settings you used in
the UI.

2. Visio's Save as Web API allows you to create web pages which wrap raster
images.
In that API, you can set the image size. Set the size the way you want, and
then just delete all the other files it generates.
 

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