Share via


WebOptions.RelyOnVML Property

True if image files are not generated from drawing objects when you save a document as a Web page. False if images are generated. The default value is False.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property RelyOnVML As Boolean
    Get
    Set
'Usage
Dim instance As WebOptions
Dim value As Boolean

value = instance.RelyOnVML

instance.RelyOnVML = value
bool RelyOnVML { get; set; }

Property Value

Type: System.Boolean

Remarks

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

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 document is different from the final location of the page on the Web server.

See Also

Reference

WebOptions Interface

WebOptions Members

Microsoft.Office.Interop.Excel Namespace