V
Vincent Verheul
Hi Group,
I want to save a Visio document as a GIF image with a * transparent *
background. I use this GIF in HTML and want to see the background as it is
defined in the style sheet.
In PowerPoint the following code sets the white background color as the
transparent color and saves the slide as a GIF image:
With Pres.Slides(1) ' Pres is the Presentation object
.FollowMasterBackground = False
.Background.Fill.BackColor.RGB = RGB(255, 255, 255)
.Background.Fill.Transparency = 1
.Export "MyDrawing.gif", ppSaveAsGIF
End With
Note: This works fine with PowerPoint 2003, unfortunately not anymore with
PowerPoint 2007.
I'm looking for a similar solution in Visio. I can see that there is an
Export function (a method of a Visio Page). However, there is no possibility
to set the transparent background color programatically. It is possible via
the user interface for the GIF filter, but not available in VBA?
Thanks,
Vincent
I want to save a Visio document as a GIF image with a * transparent *
background. I use this GIF in HTML and want to see the background as it is
defined in the style sheet.
In PowerPoint the following code sets the white background color as the
transparent color and saves the slide as a GIF image:
With Pres.Slides(1) ' Pres is the Presentation object
.FollowMasterBackground = False
.Background.Fill.BackColor.RGB = RGB(255, 255, 255)
.Background.Fill.Transparency = 1
.Export "MyDrawing.gif", ppSaveAsGIF
End With
Note: This works fine with PowerPoint 2003, unfortunately not anymore with
PowerPoint 2007.
I'm looking for a similar solution in Visio. I can see that there is an
Export function (a method of a Visio Page). However, there is no possibility
to set the transparent background color programatically. It is possible via
the user interface for the GIF filter, but not available in VBA?
Thanks,
Vincent