Exportng to GIF using non-default settings

G

gthomaslynch

I am using the Page.Export method to save to a GIF file. This works,
however the default size of the image is too large. Is there any way
to set the GIF filter to use different settings - I am using Visio 2K,
and if you manually save to GIF, it allows you to change the profile to
*VisioHTMLExport, which results in more friendly-sized images. There
does not seem to be any (simple) way that I can find to change the
default profile programmatically.

I have looked at the various examples using the Export To HTML objects,
however I would ideally like to just have a simple GIF, not any html.

Thanks for any help,
Gerard
 
A

Al Edlund

AFAIK unfortunately the options for gif export are not available. What are
your programming in?
al
 
G

gthomaslynch

Thanks for the info, Al.

I'm using Ruby, using the WIN32OLE module. The setting appears to be
in a Visio .INI file, which I suppose I could make the script
change...is there a simple way to find the Visio install? Although I
wonder if this would work for later versions of Visio.

Gerard
 
A

Al Edlund

I guess I should have asked what version of visio you are working with
first. I have to admit that I have not heard of Ruby before. You might want
to check into Graham Widemans latest book (visio survival guide), I think he
had some advice on getting to the granularity you're looking for.
al
 
G

gthomaslynch

Ok, thanks for the book tip. I may check it out. I am using Visio
2000 at the moment.

Ruby is a pretty neat language, a successor in the tradition of Perl
and Python. www.ruby-lang.org.

Gerard
 

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