RelyOnVML Property

Microsoft PowerPoint Visual Basic

Determines wwhether image files are generated from drawing objects when you save or publish a complete or partial presentation as a Web page. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse Default. Images are not generated from drawing objects when you save or publish a complete or partial presentation as a Web page.
msoTriStateMixed
msoTriStateToggle
msoTrue Image files are generated from drawing objects when you save or publish a complete or partial presentation as a Web page.

Remarks

You can reduce file sizes by not generating images for drawing objects, if your Web browser supports Vector Markup Language (VML). For example, Microsoft Internet Explorer 5 and higher support this feature, and you should set the RelyOnVML property to msoTrue if you are targeting this browser. For browsers that do not support VML, the image will not appear when you view a Web page saved with this property set to msoTrue.

For example, you should not generate images if your Web page uses image files that you have generated earlier, and if the location where you save the presentation is different from the final location of the page on the Web server.

Example

This example specifies that image files are generated when saving or publishing the active presentation to a Web page.

ActivePresentation.WebOptions.RelyOnVML = msoFalse