WebOptions.RelyOnVML property (Publisher)
Returns or sets a Boolean value that specifies whether image files are generated from drawing objects when a web publication is saved. If True, image files are not generated. If False, images are generated. The default value is False. Read/write.
Syntax
expression.RelyOnVML
expression A variable that represents a WebOptions object.
Return value
Boolean
Remarks
File sizes can be reduced by not generating images for drawing objects. Note that a web browser must support Vector Markup Language (VML) to render drawing objects. Microsoft Internet Explorer versions 5.0 and later support VML, so the RelyOnVML property could be set to True if targeting those browsers. For browsers that don't support VML, a drawing object will not appear when a web publication is saved with this property enabled.
If unsure about which browsers will be used to view the website, this property should be set to False.
Example
The following example assumes that users have Microsoft Internet Explorer version 5.0, and therefore specifies that images should not be generated from drawing objects when the web publication is saved.
Dim theWO As WebOptions
Set theWO = Application.WebOptions
With theWO
.RelyOnVML = True
End With
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.