WebOptions.RelyOnVML property (Word)
True if image files are not generated from drawing objects when you save a document as a webpage. False if images are generated. The default value is False. Read/write Boolean.
expression Required. A variable that represents a WebOptions collection.
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 don't support VML, the image will not appear when you view a webpage saved with this property enabled.
Don't generate images if your webpage 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.
This example specifies that images are generated when saving the document as a webpage.
ActiveDocument.WebOptions.RelyOnVML = False
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.