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 png's.
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.
--
Andy
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Tim Bücker said:
As microsoft.public.visio.developer is not that active and I am getting more and more desperate
I dare to also ask my question in this newsgroup:
----- Original Message -----
Newsgroups: microsoft.public.visio.developer