RelyOnVML Property

Microsoft Word Visual Basic

expression.RelyOnVML

expression    Required. An expression that returns one of the objects in the Applies To list.

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 supports this feature, and you should set the RelyOnVML property to True 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 enabled.

Don't generate images if your Web page uses image files that you have generated earlier and if the location where you save the document is different from the final location of the page on the Web server.

Example

This example specifies that images are generated when saving the document as a Web page.

ActiveDocument.WebOptions.RelyOnVML = False