WebOptions.RelyOnVML Property
Determines whether image files are generated from drawing objects when you save or publish a complete or partial presentation as a Web page. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property RelyOnVML As MsoTriState
Get
Set
'Usage
Dim instance As WebOptions
Dim value As MsoTriState
value = instance.RelyOnVML
instance.RelyOnVML = value
MsoTriState RelyOnVML { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoTriState
Remarks
The value of the RelyOnVML property can be one of the following MsoTriState constants:
Constant |
Description |
---|---|
The default. Images are not generated from drawing objects when you save or publish a complete or partial presentation as a Web page. |
|
Image files are generated from drawing objects when you save or publish a complete or partial presentation as a Web page. |
If your Web browser supports Vector Markup Language (VML), you can reduce file sizes by not generating images for drawing objects. 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.